Changeset 43880 in spip-zone
- Timestamp:
- Jan 25, 2011, 8:14:11 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/en_travaux/en_travaux_options.php
r28658 r43880 25 25 include_spip('inc/autoriser'); 26 26 if (!autoriser('travaux')){ 27 echo recuperer_fond("en_travaux",array()); 27 $travaux = recuperer_fond("en_travaux",array()); 28 // fallback : le fond renvoie parfois du vide ... 29 if (!strlen($travaux)){ 30 @define('_SPIP_SCRIPT','spip.php'); 31 echo "Acces interdit (en travaux) <a href='" 32 .generer_url_action('logout',"logout=public",false,true) 33 ."'>Deconnexion</a>"; 34 } 28 35 die(); 29 36 }
Note: See TracChangeset
for help on using the changeset viewer.