X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=www%2Fecrire%2Finc%2Facces.php;h=bc493e5cf425290612b97c89234edc40833ae91d;hb=6b124a2ba7b2727469db181964789cf144abb6f5;hp=084e74388d3d044e6976959ae5b118cdbf6ea016;hpb=334c33c2a7ee73660008b6855fc329fad6a3df1b;p=lhc%2Fweb%2Fwww.git diff --git a/www/ecrire/inc/acces.php b/www/ecrire/inc/acces.php index 084e7438..bc493e5c 100644 --- a/www/ecrire/inc/acces.php +++ b/www/ecrire/inc/acces.php @@ -415,7 +415,7 @@ function verifier_htaccess($rep, $force = false) { function gerer_htaccess() { // Cette variable de configuration peut etre posee par un plugin // par exemple acces_restreint - $f = isset($GLOBALS['meta']['creer_htaccess']) and ($GLOBALS['meta']['creer_htaccess'] === 'oui'); + $f = (isset($GLOBALS['meta']['creer_htaccess']) and ($GLOBALS['meta']['creer_htaccess'] === 'oui')); $dirs = sql_allfetsel('extension', 'spip_types_documents'); $dirs[] = array('extension' => 'distant'); foreach ($dirs as $e) {