mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-19 12:13:25 +02:00
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:
@@ -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']))
|
||||
{
|
||||
|
Reference in New Issue
Block a user