diff options
Diffstat (limited to 'public/system/config/admin.php')
-rw-r--r-- | public/system/config/admin.php | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/public/system/config/admin.php b/public/system/config/admin.php new file mode 100644 index 0000000..56b6ef0 --- /dev/null +++ b/public/system/config/admin.php @@ -0,0 +1,49 @@ +<?php +// Site +$_['site_url'] = HTTP_SERVER; +$_['site_ssl'] = HTTPS_SERVER; + +// Database +$_['db_autostart'] = true; +$_['db_engine'] = DB_DRIVER; // mpdo, mssql, mysql, mysqli or postgre +$_['db_hostname'] = DB_HOSTNAME; +$_['db_username'] = DB_USERNAME; +$_['db_password'] = DB_PASSWORD; +$_['db_database'] = DB_DATABASE; +$_['db_port'] = DB_PORT; + +// Session +$_['session_autostart'] = true; + +// Template +$_['template_cache'] = true; + +// Actions +$_['action_pre_action'] = array( + 'startup/startup', + 'startup/error', + 'startup/event', + 'startup/sass', + 'startup/login', + 'startup/permission' +); + +// Actions +$_['action_default'] = 'common/dashboard'; + +// Action Events +$_['action_event'] = array( + 'controller/*/before' => array( + 'event/language/before' + ), + 'controller/*/after' => array( + 'event/language/after' + ), + 'view/*/before' => array( + 999 => 'event/language', + 1000 => 'event/theme' + ), + 'view/*/before' => array( + 'event/language' + ) +); |