mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-17 19:23:27 +02:00
[WIP] App rewrite
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
Reference in New Issue
Block a user