Remove myaac_hooks table, load info directly from .json files and cache them

This commit is contained in:
slawkens
2020-01-13 20:19:34 +01:00
parent aaaba5cc84
commit e08557e5ae
7 changed files with 62 additions and 54 deletions

View File

@@ -27,7 +27,7 @@ session_start();
define('MYAAC', true);
define('MYAAC_VERSION', '0.8-dev');
define('DATABASE_VERSION', 27);
define('DATABASE_VERSION', 28);
define('TABLE_PREFIX', 'myaac_');
define('START_TIME', microtime(true));
define('MYAAC_OS', stripos(PHP_OS, 'WIN') === 0 ? 'WINDOWS' : (strtoupper(PHP_OS) === 'DARWIN' ? 'MAC' : 'LINUX'));
@@ -106,4 +106,4 @@ if(isset($_SERVER['HTTP_HOST'])) {
//define('CURRENT_URL', BASE_URL . $_SERVER['REQUEST_URI']);
}
require SYSTEM . 'exception.php';
require SYSTEM . 'exception.php';