mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-21 04:53:28 +02:00
[WIP] More work on settings
Move more config to settings (mainly mail_* + some other) Remove mail_admin, wasnt used anywhere Add return type to some functions Add Twig settings(key) function Possibility to save setting to db
This commit is contained in:
@@ -10,8 +10,8 @@
|
||||
defined('MYAAC') or die('Direct access not allowed!');
|
||||
|
||||
// template
|
||||
$template_name = $settings['core.template']['value'];
|
||||
if($settings['core.template_allow_change']['value'])
|
||||
$template_name = setting('core.template');
|
||||
if(setting('core.template_allow_change'))
|
||||
{
|
||||
if(isset($_GET['template']))
|
||||
{
|
||||
|
Reference in New Issue
Block a user