mirror of
https://gitlab.com/JKANetwork/CheckServer.git
synced 2026-02-25 14:33:47 +01:00
Fixing cronchk and adding JSON API check (WIP)
This commit is contained in:
5
load.php
5
load.php
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
require_once 'functions.php'; //Preloads functions
|
||||
require_once 'lib/dbwrapper.php';
|
||||
define('VERSION','0.9.2');
|
||||
define('VERSION','0.9.3');
|
||||
session_start(); //Session in all page
|
||||
//Preload file
|
||||
//This function loads all things needed, with optional db things if needed
|
||||
@@ -35,4 +35,7 @@ define('LANG', getSystemOpt('lang'));
|
||||
if (getSystemOpt('version') != VERSION){
|
||||
die("<p>Please run updater.php to update before using page");
|
||||
}
|
||||
if (getSystemOpt('maintenance') == '1'){
|
||||
die("<p>CheckStatus is in maintenance mode, wait for admin to disable maintenance mode</p>");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user