Cleaner check to make sure inc/ files aren't accessed directly.
This commit is contained in:
1 parent
8a244ab61e
commit
7f0de93608
12 files changed
+13
-40
No files matched your search
@@ -9,6 +9,8 @@ if (realpath($_SERVER['SCRIPT_FILENAME']) == str_replace('\\', '/', __FILE__)) {
|
||||
exit;
|
||||
}
|
||||
|
||||
define('TINYBOARD', null);
|
||||
|
||||
$microtime_start = microtime(true);
|
||||
|
||||
require_once 'inc/display.php';
|
||||
|
||||
Reference in new issue
Block a user