mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-17 03:03:26 +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:
25
system/compat_config.php
Normal file
25
system/compat_config.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
$deprecatedConfig = [
|
||||
'template',
|
||||
'template_allow_change',
|
||||
'vocations_amount',
|
||||
'client',
|
||||
'session_prefix',
|
||||
'friendly_urls',
|
||||
'backward_support',
|
||||
'charset',
|
||||
'meta_description',
|
||||
'meta_keywords',
|
||||
'footer',
|
||||
'language',
|
||||
'visitors_counter',
|
||||
'visitors_counter_ttl',
|
||||
'views_counter',
|
||||
'outfit_images_url',
|
||||
'item_images_url',
|
||||
];
|
||||
|
||||
foreach ($deprecatedConfig as $value) {
|
||||
$config[$value] = $settings['core.'.$value]['value'];
|
||||
}
|
Reference in New Issue
Block a user