mirror of
https://github.com/slawkens/myaac.git
synced 2025-05-01 11:49:20 +02:00

New Settings class New Plugins::load() method Move config.php to settings.php MyAAC Settings will have plugin_name = 'core' Add compat_config.php
25 lines
439 B
PHP
25 lines
439 B
PHP
<?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'];
|
|
} |