default.php (2115B)
1 <?php 2 // Site 3 $_['site_url'] = ''; 4 $_['site_ssl'] = false; 5 6 // Url 7 $_['url_autostart'] = true; 8 9 // Language 10 $_['language_directory'] = 'en-gb'; 11 $_['language_autoload'] = array('en-gb'); 12 13 // Date 14 $_['date_timezone'] = 'UTC'; 15 16 // Database 17 $_['db_engine'] = 'mysqli'; // mpdo, mssql, mysql, mysqli or postgre 18 $_['db_hostname'] = 'localhost'; 19 $_['db_username'] = 'root'; 20 $_['db_password'] = ''; 21 $_['db_database'] = ''; 22 $_['db_port'] = 3306; 23 $_['db_autostart'] = false; 24 25 // Mail 26 $_['mail_engine'] = 'mail'; // mail or smtp 27 $_['mail_from'] = ''; // Your E-Mail 28 $_['mail_sender'] = ''; // Your name or company name 29 $_['mail_reply_to'] = ''; // Reply to E-Mail 30 $_['mail_smtp_hostname'] = ''; 31 $_['mail_smtp_username'] = ''; 32 $_['mail_smtp_password'] = ''; 33 $_['mail_smtp_port'] = 25; 34 $_['mail_smtp_timeout'] = 5; 35 $_['mail_verp'] = false; 36 $_['mail_parameter'] = ''; 37 38 // Cache 39 $_['cache_engine'] = 'file'; // apc, file, mem or memcached 40 $_['cache_expire'] = 3600; 41 42 // Session 43 $_['session_engine'] = 'db'; 44 $_['session_autostart'] = true; 45 $_['session_name'] = 'OCSESSID'; 46 47 // Template 48 $_['template_engine'] = 'twig'; 49 $_['template_directory'] = ''; 50 $_['template_cache'] = false; 51 52 // Error 53 $_['error_display'] = true; 54 $_['error_log'] = true; 55 $_['error_filename'] = 'error.log'; 56 57 // Reponse 58 $_['response_header'] = array('Content-Type: text/html; charset=utf-8'); 59 $_['response_compression'] = 0; 60 61 // Autoload Configs 62 $_['config_autoload'] = array(); 63 64 // Autoload Libraries 65 $_['library_autoload'] = array(); 66 67 // Autoload Libraries 68 $_['model_autoload'] = array(); 69 70 // Actions 71 $_['action_default'] = 'common/home'; 72 $_['action_router'] = 'startup/router'; 73 $_['action_error'] = 'error/not_found'; 74 $_['action_pre_action'] = array(); 75 $_['action_event'] = array();