Skip to content

Commit

Permalink
Small bugfix
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/phpsurveyor@1899 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Aug 12, 2006
1 parent 181dfa6 commit b0fbc0d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions common.php
Expand Up @@ -326,13 +326,13 @@ function showadminmenu()
$qtypeselect = getqtypelist();

//SECURITY SETUP STUFF
$htaccess =<<<EOF
AuthType Basic
AuthName "SURVEYOR: Authorised Users only"
AuthUserFile "$homedir/.htpasswd"
AuthGroupFile /dev/null
Require valid-user
EOF;
$htaccess ="
AuthType Basic\n
AuthName \"SURVEYOR: Authorised Users only\"\
AuthUserFile \"$homedir/.htpasswd\"\
AuthGroupFile /dev/null\n
Require valid-user\n
";

function &db_execute_num($sql,$inputarr=false)
{
Expand Down Expand Up @@ -882,7 +882,7 @@ function conditionscount($qid)

function keycontroljs()
{
$kcjs="<<<EOF
$kcjs="
<SCRIPT TYPE=\"text/javascript\">
<!--
Expand Down Expand Up @@ -916,7 +916,7 @@ function goodchars(e, goods)
}
//-->
</SCRIPT>
EOF;";
";
return $kcjs;
}

Expand Down

0 comments on commit b0fbc0d

Please sign in to comment.