diff --git a/admin/usercontrol.php b/admin/usercontrol.php index 41086584b7d..8e9a9f2b99b 100644 --- a/admin/usercontrol.php +++ b/admin/usercontrol.php @@ -46,7 +46,7 @@ $addsummary .= "Creating default htaccess file
\n"; $fname="$homedir/.htaccess"; echo ""; - $handle=fopen($fname, 'a') or die ("\n\n\n\n
\nError.
\nCouldn't create htaccess file. Have you set your config.php properly? Check the '\$homedir' setting in particular!\n

Back to admin

\n
\n"); + $handle=fopen($fname, 'a') or die ("\n\n\n\n
\nError.
\nCouldn't create htaccess file. Have you set your config.php properly? Check the '\$homedir' setting in particular!\nThis error can also occur if you do not have correct permissions in your admin directory.\n

Back to admin

\n
\n"); echo "
"; fputs($handle, $htaccess); fclose($handle); @@ -80,7 +80,7 @@ else { unlink($fname); - $addsummary .= "Error occurred creating htpasswd file. Sorry.
\n"; + $addsummary .= "Error occurred creating htpasswd file. Sorry.

\nIf you are using a windows server it is recommended that you copy the apache htpasswd.exe file into your admin folder for this function to work properly. This file is usually found in /apache group/apache/bin/
\n"; } $addsummary .= "
\nFinished\n"; }