diff options
author | Starla Insigna <hatkirby@fourisland.com> | 2008-12-20 21:41:09 -0500 |
---|---|---|
committer | Starla Insigna <hatkirby@fourisland.com> | 2008-12-20 21:41:09 -0500 |
commit | eaf0dc418bb8338a0de53c6ca6d2469ce3b70214 (patch) | |
tree | 8b5ae56f2080d1dbdb261e04f71e11ddaacef12e /includes/mantainence.php | |
parent | 03d6589fefd850f793215cb6805c0f0c0989f93f (diff) | |
download | fourisland-eaf0dc418bb8338a0de53c6ca6d2469ce3b70214.tar.gz fourisland-eaf0dc418bb8338a0de53c6ca6d2469ce3b70214.tar.bz2 fourisland-eaf0dc418bb8338a0de53c6ca6d2469ce3b70214.zip |
Added Maintenance switcher to Admin
Also fixed spelling of maintenance in places where it was incorrectly spelled. Maintenance Required: Rename "mantainenceMode" config to "maintenanceMode"
Diffstat (limited to 'includes/mantainence.php')
-rwxr-xr-x | includes/mantainence.php | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/includes/mantainence.php b/includes/mantainence.php deleted file mode 100755 index 6e595a1..0000000 --- a/includes/mantainence.php +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | <?php | ||
2 | /* | ||
3 | 444444444 | ||
4 | 4::::::::4 | ||
5 | 4:::::::::4 | ||
6 | 4::::44::::4 | ||
7 | 4::::4 4::::4 Four Island | ||
8 | 4::::4 4::::4 | ||
9 | 4::::4 4::::4 Written and maintained by Starla Insigna | ||
10 | 4::::444444::::444 | ||
11 | 4::::::::::::::::4 includes/mantainence.php | ||
12 | 4444444444:::::444 | ||
13 | 4::::4 Please do not use, reproduce or steal the | ||
14 | 4::::4 contents of this file without explicit | ||
15 | 4::::4 permission from Hatkirby. | ||
16 | 44::::::44 | ||
17 | 4::::::::4 | ||
18 | 4444444444 | ||
19 | */ | ||
20 | |||
21 | if (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);} | ||
22 | |||
23 | require('headerproc.php'); | ||
24 | |||
25 | $getconfig = "SELECT * FROM config WHERE name = \"mantainenceMode\""; | ||
26 | $getconfig2 = mysql_query($getconfig); | ||
27 | $getconfig3 = mysql_fetch_array($getconfig2); | ||
28 | if ($getconfig3['value'] == '1') | ||
29 | { | ||
30 | if ($_SERVER['REMOTE_ADDR'] != '127.0.0.1') | ||
31 | { | ||
32 | $template = new FITemplate('mantainence'); | ||
33 | $template->display($template); | ||
34 | |||
35 | exit; | ||
36 | } | ||
37 | } | ||
38 | |||
39 | ?> | ||