[WIP] App rewrite

This commit is contained in:
slawkens
2025-03-09 22:39:16 +01:00
parent c336569684
commit c357f392a0
12 changed files with 59 additions and 30 deletions

View File

@@ -15,6 +15,7 @@ use MyAAC\Plugins;
defined('MYAAC') or die('Direct access not allowed!');
// template
global $template_name;
$template_name = setting('core.template');
if(setting('core.template_allow_change'))
{
@@ -69,6 +70,7 @@ else {
}
}
global $config;
if(file_exists(BASE . $template_path . '/config.php')) {
require BASE . $template_path . '/config.php';
}