summary refs log tree commit diff stats
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rwxr-xr-xincludes/maintenance.php (renamed from includes/mantainence.php)6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/mantainence.php b/includes/maintenance.php index 6e595a1..79466f9 100755 --- a/includes/mantainence.php +++ b/includes/maintenance.php
@@ -8,7 +8,7 @@
8 4::::4 4::::4 8 4::::4 4::::4
9 4::::4 4::::4 Written and maintained by Starla Insigna 9 4::::4 4::::4 Written and maintained by Starla Insigna
104::::444444::::444 104::::444444::::444
114::::::::::::::::4 includes/mantainence.php 114::::::::::::::::4 includes/maintenance.php
124444444444:::::444 124444444444:::::444
13 4::::4 Please do not use, reproduce or steal the 13 4::::4 Please do not use, reproduce or steal the
14 4::::4 contents of this file without explicit 14 4::::4 contents of this file without explicit
@@ -22,14 +22,14 @@ if (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);}
22 22
23require('headerproc.php'); 23require('headerproc.php');
24 24
25$getconfig = "SELECT * FROM config WHERE name = \"mantainenceMode\""; 25$getconfig = "SELECT * FROM config WHERE name = \"maintenanceMode\"";
26$getconfig2 = mysql_query($getconfig); 26$getconfig2 = mysql_query($getconfig);
27$getconfig3 = mysql_fetch_array($getconfig2); 27$getconfig3 = mysql_fetch_array($getconfig2);
28if ($getconfig3['value'] == '1') 28if ($getconfig3['value'] == '1')
29{ 29{
30 if ($_SERVER['REMOTE_ADDR'] != '127.0.0.1') 30 if ($_SERVER['REMOTE_ADDR'] != '127.0.0.1')
31 { 31 {
32 $template = new FITemplate('mantainence'); 32 $template = new FITemplate('maintenance');
33 $template->display($template); 33 $template->display($template);
34 34
35 exit; 35 exit;