aboutsummaryrefslogtreecommitdiffstats
path: root/public/system/config/catalog.php
diff options
context:
space:
mode:
Diffstat (limited to 'public/system/config/catalog.php')
-rw-r--r--public/system/config/catalog.php65
1 files changed, 65 insertions, 0 deletions
diff --git a/public/system/config/catalog.php b/public/system/config/catalog.php
new file mode 100644
index 0000000..0def793
--- /dev/null
+++ b/public/system/config/catalog.php
@@ -0,0 +1,65 @@
+<?php
+// Site
+$_['site_url'] = HTTP_SERVER;
+$_['site_ssl'] = HTTPS_SERVER;
+
+// Url
+$_['url_autostart'] = false;
+
+// 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'] = false;
+$_['session_engine'] = 'db';
+$_['session_name'] = 'OCSESSID';
+
+// Template
+$_['template_engine'] = 'twig';
+$_['template_directory'] = '';
+$_['template_cache'] = true;
+
+// Autoload Libraries
+$_['library_autoload'] = array(
+ 'openbay'
+);
+
+// Actions
+$_['action_pre_action'] = array(
+ 'startup/session',
+ 'startup/startup',
+ 'startup/error',
+ 'startup/event',
+ 'startup/maintenance',
+ 'startup/seo_url'
+);
+
+// Action Events
+$_['action_event'] = array(
+ 'controller/*/before' => array(
+ 'event/language/before'
+ ),
+ 'controller/*/after' => array(
+ 'event/language/after'
+ ),
+ 'view/*/before' => array(
+ 500 => 'event/theme/override',
+ 998 => 'event/language',
+ 1000 => 'event/theme'
+ ),
+ 'language/*/after' => array(
+ 'event/translation'
+ ),
+ //'view/*/before' => array(
+ // 1000 => 'event/debug/before'
+ //),
+ //'controller/*/after' => array(
+ // 'event/debug/after'
+// )
+); \ No newline at end of file