Skip to content

Commit

Permalink
Removed template files that involved sending emails. Upgraded templat…
Browse files Browse the repository at this point in the history
…es.php file to operative status, and linked via administration screen. Added language file constants for both. Removed doubled-up $dbprefix line in config.php, and adjusted default winapachedir, which had an extra "g" in it!

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@1040 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed May 22, 2004
1 parent 1613450 commit c7cf755
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/usercontrol.php
Expand Up @@ -44,7 +44,7 @@
{
//DON'T DO ANYTHING UNLESS IT HAS BEEN ASKED FOR
//CREATE HTACCESS FILE
$addsummary .= "<br />"._UC_CREATE."<br />\n";
$addsummary = "<br />"._UC_CREATE."<br />\n";
$fname="$homedir/.htaccess";
echo "<font color='white'>";
$handle=fopen($fname, 'a') or die ("<table width='250' border='1' align='center'>\n<tr>\n<td align='center'>\n<b>"._ERROR."</b><br />\n"._UC_NOCREATE."\n<p><a href='$scriptname'>"._GO_ADMIN."</a></p>\n</td>\n</tr>\n</table>\n");
Expand All @@ -56,7 +56,7 @@

//CREATE DEFAULT USER AND PASS
$addsummary = "<br />"._UC_CREATE_DEFAULT."<br />\n";
if ($htpasswddir) {$htpasswd = "\"$htpasswddir/htpasswd\"";} else {$htpasswd = "htpasswd";}
if (isset($htpasswddir) && $htpasswddir) {$htpasswd = "\"$htpasswddir/htpasswd\"";} else {$htpasswd = "htpasswd";}

# Form command line. Redirect STDERR to STDOUT using 2>&1
$command = "$htpasswd -bc .htpasswd $defaultuser $defaultpass 2>&1";
Expand Down

0 comments on commit c7cf755

Please sign in to comment.