Settings [WIP]

New Settings class
New Plugins::load() method
Move config.php to settings.php
MyAAC Settings will have plugin_name = 'core'
Add compat_config.php
This commit is contained in:
slawkens
2020-06-09 01:39:55 +02:00
parent 909bfffb51
commit fa0de1c413
11 changed files with 480 additions and 462 deletions

View File

@@ -10,8 +10,8 @@
defined('MYAAC') or die('Direct access not allowed!');
// template
$template_name = $config['template'];
if($config['template_allow_change'])
$template_name = $settings['core.template']['value'];
if($settings['core.template_allow_change']['value'])
{
if(isset($_GET['template']))
{