Basic skeleton for static website
[speedfreak] / Server / application / config / config.php
1 <?php defined('SYSPATH') OR die('No direct access allowed.');
2 /**
3  * Base path of the web site. If this includes a domain, eg: localhost/kohana/
4  * then a full URL will be used, eg: http://localhost/kohana/. If it only includes
5  * the path, and a site_protocol is specified, the domain will be auto-detected.
6  */
7 $config['site_domain'] = '/api';
8
9 /**
10  * Force a default protocol to be used by the site. If no site_protocol is
11  * specified, then the current protocol is used, or when possible, only an
12  * absolute path (with no protocol/domain) is used.
13  */
14 $config['site_protocol'] = '';
15
16 /**
17  * Name of the front controller for this application. Default: index.php
18  *
19  * This can be removed by using URL rewriting.
20  */
21 $config['index_page'] = '';
22
23 /**
24  * Fake file extension that will be added to all generated URLs. Example: .html
25  */
26 $config['url_suffix'] = '';
27
28 /**
29  * Length of time of the internal cache in seconds. 0 or FALSE means no caching.
30  * The internal cache stores file paths and config entries across requests and
31  * can give significant speed improvements at the expense of delayed updating.
32  */
33 $config['internal_cache'] = FALSE;
34
35 /**
36  * Internal cache directory.
37  */
38 $config['internal_cache_path'] = APPPATH.'cache/';
39
40 /**
41  * Enable internal cache encryption - speed/processing loss
42  * is neglible when this is turned on. Can be turned off
43  * if application directory is not in the webroot.
44  */
45 $config['internal_cache_encrypt'] = FALSE;
46
47 /**
48  * Encryption key for the internal cache, only used
49  * if internal_cache_encrypt is TRUE.
50  *
51  * Make sure you specify your own key here!
52  *
53  * The cache is deleted when/if the key changes.
54  */
55 $config['internal_cache_key'] = 'sdfhdshkjhu8yuanm__saa-dc_ay/&%&&7556sdbskjhkjH___1-1!!!';
56
57 /**
58  * Enable or disable gzip output compression. This can dramatically decrease
59  * server bandwidth usage, at the cost of slightly higher CPU usage. Set to
60  * the compression level (1-9) that you want to use, or FALSE to disable.
61  *
62  * Do not enable this option if you are using output compression in php.ini!
63  */
64 $config['output_compression'] = FALSE;
65
66 /**
67  * Enable or disable global XSS filtering of GET, POST, and SERVER data. This
68  * option also accepts a string to specify a specific XSS filtering tool.
69  */
70 $config['global_xss_filtering'] = TRUE;
71
72 /**
73  * Enable or disable hooks.
74  */
75 $config['enable_hooks'] = FALSE;
76
77 /**
78  * Log thresholds:
79  *  0 - Disable logging
80  *  1 - Errors and exceptions
81  *  2 - Warnings
82  *  3 - Notices
83  *  4 - Debugging
84  */
85 $config['log_threshold'] = 1;
86
87 /**
88  * Message logging directory.
89  */
90 $config['log_directory'] = APPPATH.'logs';
91
92 /**
93  * Enable or disable displaying of Kohana error pages. This will not affect
94  * logging. Turning this off will disable ALL error pages.
95  */
96 $config['display_errors'] = TRUE;
97
98 /**
99  * Enable or disable statistics in the final output. Stats are replaced via
100  * specific strings, such as {execution_time}.
101  *
102  * @see http://docs.kohanaphp.com/general/configuration
103  */
104 $config['render_stats'] = TRUE;
105
106 /**
107  * Filename prefixed used to determine extensions. For example, an
108  * extension to the Controller class would be named MY_Controller.php.
109  */
110 $config['extension_prefix'] = 'MY_';
111
112 /**
113  * Additional resource paths, or "modules". Each path can either be absolute
114  * or relative to the docroot. Modules can include any resource that can exist
115  * in your application directory, configuration files, controllers, views, etc.
116  */
117 $config['modules'] = array
118 (
119         // MODPATH.'auth',      // Authentication
120         // MODPATH.'kodoc',     // Self-generating documentation
121         // MODPATH.'gmaps',     // Google Maps integration
122         // MODPATH.'archive',   // Archive utility
123         // MODPATH.'payment',   // Online payments
124     // MODPATH.'unit_test' // Unit testing
125 );