| @@ 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) |
|
| @@ 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 | ?> |
|
| @@ 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'); |
|
| @@ 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. |
|