Skip to content
This repository has been archived by the owner on Nov 11, 2022. It is now read-only.

Commit

Permalink
Fixed unqouted ['PHP_SELF']
Browse files Browse the repository at this point in the history
  • Loading branch information
smajda committed Jul 21, 2009
1 parent ab64bba commit 4d1bd70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/access.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class="wide" type='text' name='input_user' /><br />

if (($_COOKIE['todotxt-user'] == $user) && ($_COOKIE['todotxt-pass'] == md5($password))) {
$_SESSION['authenticated'] = 1;
header("Location:".$_SERVER[PHP_SELF]);
header("Location:".$_SERVER['PHP_SELF']);
} else {
displayform(1);
}
Expand Down

0 comments on commit 4d1bd70

Please sign in to comment.