1 <?php defined('SYSPATH') OR die('No direct access allowed.');
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.
7 $config['site_domain'] = '/api';
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.
14 $config['site_protocol'] = '';
17 * Name of the front controller for this application. Default: index.php
19 * This can be removed by using URL rewriting.
21 $config['index_page'] = '';
24 * Fake file extension that will be added to all generated URLs. Example: .html
26 $config['url_suffix'] = '';
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.
33 $config['internal_cache'] = FALSE;
36 * Internal cache directory.
38 $config['internal_cache_path'] = APPPATH.'cache/';
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.
45 $config['internal_cache_encrypt'] = FALSE;
48 * Encryption key for the internal cache, only used
49 * if internal_cache_encrypt is TRUE.
51 * Make sure you specify your own key here!
53 * The cache is deleted when/if the key changes.
55 $config['internal_cache_key'] = 'foobar-changeme';
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.
62 * Do not enable this option if you are using output compression in php.ini!
64 $config['output_compression'] = FALSE;
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.
70 $config['global_xss_filtering'] = TRUE;
73 * Enable or disable hooks.
75 $config['enable_hooks'] = FALSE;
80 * 1 - Errors and exceptions
85 $config['log_threshold'] = 1;
88 * Message logging directory.
90 $config['log_directory'] = APPPATH.'logs';
93 * Enable or disable displaying of Kohana error pages. This will not affect
94 * logging. Turning this off will disable ALL error pages.
96 $config['display_errors'] = TRUE;
99 * Enable or disable statistics in the final output. Stats are replaced via
100 * specific strings, such as {execution_time}.
102 * @see http://docs.kohanaphp.com/general/configuration
104 $config['render_stats'] = TRUE;
107 * Filename prefixed used to determine extensions. For example, an
108 * extension to the Controller class would be named MY_Controller.php.
110 $config['extension_prefix'] = 'MY_';
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.
117 $config['modules'] = array
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