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