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) |
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(E_ALL); |
43 |
|
/* Set this to one of three values depending on what you want to happen in the case of a fatal error. |
other/Settings.php 1 location
|
@@ 192-193 (lines=2) @@
|
189 |
|
$boarddir = dirname(__FILE__); |
190 |
|
if (!file_exists($sourcedir) && file_exists($boarddir . '/Sources')) |
191 |
|
$sourcedir = $boarddir . '/Sources'; |
192 |
|
if (!file_exists($cachedir) && file_exists($boarddir . '/cache')) |
193 |
|
$cachedir = $boarddir . '/cache'; |
194 |
|
|
195 |
|
########## Error-Catching ########## |
196 |
|
# Note: You shouldn't touch these settings. |
Sources/Subs-Admin.php 1 location
|
@@ 386-387 (lines=2) @@
|
383 |
|
// |
384 |
|
// Check before you act: if cache is enabled, we can do a simple write test |
385 |
|
// to validate that we even write things on this filesystem. |
386 |
|
if ((empty($cachedir) || !file_exists($cachedir)) && file_exists($boarddir . '/cache')) |
387 |
|
$cachedir = $boarddir . '/cache'; |
388 |
|
|
389 |
|
$test_fp = @fopen($cachedir . '/settings_update.tmp', "w+"); |
390 |
|
if ($test_fp) |