Fix a minor error

This commit is contained in:
Daniel Saunders 2018-12-08 06:01:07 -05:00
parent 7b28693e7c
commit ab51763b44

View File

@ -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;
}