projects
/
infodrom
/
hallinta
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4b5375
)
Untypo
author
Joey Schulze
<joey@infodrom.org>
Sun, 6 Mar 2011 15:05:15 +0000
(16:05 +0100)
committer
Joey Schulze
<joey@infodrom.org>
Sun, 6 Mar 2011 15:05:15 +0000
(16:05 +0100)
lib/login.php
patch
|
blob
|
history
diff --git
a/lib/login.php
b/lib/login.php
index
9c668f7
..
9c415ca
100644
(file)
--- a/
lib/login.php
+++ b/
lib/login.php
@@
-14,7
+14,7
@@
function check_passwd()
if (substr($_SERVER['HTTP_REFERER'],-12) != '/?login=true'
|| substr($_SERVER['SCRIPT_FILENAME'],-10) != '/index.php') {
- error_log('Wrong refer
r
er or wrong request uri');
+ error_log('Wrong referer or wrong request uri');
return false;
}