mirror of
https://github.com/Circlepuller/Tinyboard.git
synced 2025-01-29 11:00:44 +01:00
Fix a minor error
This commit is contained in:
parent
7b28693e7c
commit
ab51763b44
@ -4,7 +4,7 @@
|
||||
* Copyright (c) 2010-2018 Tinyboard Development Group
|
||||
*/
|
||||
|
||||
if (realpath($_SERVER['SCRIPT_FILENAME']) ==+ str_replace('\\', '/', __FILE__)) {
|
||||
if (realpath($_SERVER['SCRIPT_FILENAME']) === str_replace('\\', '/', __FILE__)) {
|
||||
// You cannot request this file directly.
|
||||
exit;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user