cron.php 1 location
|
@@ 52-53 (lines=2) @@
|
| 49 |
|
require_once(dirname(__FILE__) . '/Settings.php'); |
| 50 |
|
|
| 51 |
|
// Make absolutely sure the cache directory is defined. |
| 52 |
|
if ((empty($cachedir) || !file_exists($cachedir)) && file_exists($boarddir . '/cache')) |
| 53 |
|
$cachedir = $boarddir . '/cache'; |
| 54 |
|
|
| 55 |
|
// Don't do john didley if the forum's been shut down competely. |
| 56 |
|
if ($maintenance == 2) |
other/Settings.php 1 location
|
@@ 209-210 (lines=2) @@
|
| 206 |
|
$boarddir = dirname(__FILE__); |
| 207 |
|
if (!file_exists($sourcedir) && file_exists($boarddir . '/Sources')) |
| 208 |
|
$sourcedir = $boarddir . '/Sources'; |
| 209 |
|
if (!file_exists($cachedir) && file_exists($boarddir . '/cache')) |
| 210 |
|
$cachedir = $boarddir . '/cache'; |
| 211 |
|
|
| 212 |
|
?> |
Sources/Subs-Admin.php 1 location
|
@@ 385-386 (lines=2) @@
|
| 382 |
|
// |
| 383 |
|
// Check before you act: if cache is enabled, we can do a simple write test |
| 384 |
|
// to validate that we even write things on this filesystem. |
| 385 |
|
if ((empty($cachedir) || !file_exists($cachedir)) && file_exists($boarddir . '/cache')) |
| 386 |
|
$cachedir = $boarddir . '/cache'; |
| 387 |
|
|
| 388 |
|
$test_fp = @fopen($cachedir . '/settings_update.tmp', "w+"); |
| 389 |
|
if ($test_fp) |
index.php 1 location
|
@@ 43-44 (lines=2) @@
|
| 40 |
|
require_once(dirname(__FILE__) . '/Settings.php'); |
| 41 |
|
|
| 42 |
|
// Make absolutely sure the cache directory is defined. |
| 43 |
|
if ((empty($cachedir) || !file_exists($cachedir)) && file_exists($boarddir . '/cache')) |
| 44 |
|
$cachedir = $boarddir . '/cache'; |
| 45 |
|
|
| 46 |
|
// Without those we can't go anywhere |
| 47 |
|
require_once($sourcedir . '/QueryString.php'); |
SSI.php 1 location
|
@@ 39-40 (lines=2) @@
|
| 36 |
|
require_once(dirname(__FILE__) . '/Settings.php'); |
| 37 |
|
|
| 38 |
|
// Make absolutely sure the cache directory is defined. |
| 39 |
|
if ((empty($cachedir) || !file_exists($cachedir)) && file_exists($boarddir . '/cache')) |
| 40 |
|
$cachedir = $boarddir . '/cache'; |
| 41 |
|
|
| 42 |
|
$ssi_error_reporting = error_reporting(defined('E_STRICT') ? E_ALL | E_STRICT : E_ALL); |
| 43 |
|
/* Set this to one of three values depending on what you want to happen in the case of a fatal error. |