1
0
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:
2018-01-14 13:44:20 +01:00
parent 1efecc2633
commit 9e4982c838
13 changed files with 185 additions and 73 deletions

View File

@@ -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>");
}