diff --git a/bureau/class/m_hta.php b/bureau/class/m_hta.php index d62e53f8..32bfe7f5 100644 --- a/bureau/class/m_hta.php +++ b/bureau/class/m_hta.php @@ -84,7 +84,7 @@ class m_hta { return false; } fseek($file,0); - $param="AuthUserFile $absolute/.htpasswd\nAuthName \"Zone Protégée\"\nAuthType Basic\nrequire valid-user\n"; + $param="AuthUserFile \"$absolute/.htpasswd\"\nAuthName \"Zone Protégée\"\nAuthType Basic\nrequire valid-user\n"; fwrite($file, $param); fclose($file); }