| 755 |
lars |
1 |
<?php
|
| 2047 |
lars |
2 |
|
| 755 |
lars |
3 |
defined('BASEPATH') OR exit('No direct script access allowed');
|
|
|
4 |
|
|
|
5 |
/*
|
|
|
6 |
|--------------------------------------------------------------------------
|
|
|
7 |
| Base Site URL
|
|
|
8 |
|--------------------------------------------------------------------------
|
|
|
9 |
|
|
|
|
10 |
| URL to your CodeIgniter root. Typically this will be your base URL,
|
|
|
11 |
| WITH a trailing slash:
|
|
|
12 |
|
|
|
|
13 |
| http://example.com/
|
|
|
14 |
|
|
|
|
15 |
| WARNING: You MUST set this value!
|
|
|
16 |
|
|
|
|
17 |
| If it is not set, then CodeIgniter will try guess the protocol and path
|
|
|
18 |
| your installation, but due to security concerns the hostname will be set
|
|
|
19 |
| to $_SERVER['SERVER_ADDR'] if available, or localhost otherwise.
|
|
|
20 |
| The auto-detection mechanism exists only for convenience during
|
|
|
21 |
| development and MUST NOT be used in production!
|
|
|
22 |
|
|
|
|
23 |
| If you need to allow multiple domains, remember that this file is still
|
|
|
24 |
| a PHP script and you can easily do that on your own.
|
|
|
25 |
|
|
|
|
26 |
*/
|
| 2047 |
lars |
27 |
$prot = "http";
|
|
|
28 |
if ($_SERVER["HTTPS"] && $_SERVER["HTTPS"] != "off")
|
|
|
29 |
{
|
|
|
30 |
$prot = "https";
|
|
|
31 |
}
|
|
|
32 |
$config['base_url'] = $prot.'://'.$_SERVER['SERVER_NAME'].'/backend';
|
| 755 |
lars |
33 |
|
|
|
34 |
/*
|
|
|
35 |
|--------------------------------------------------------------------------
|
|
|
36 |
| Index File
|
|
|
37 |
|--------------------------------------------------------------------------
|
|
|
38 |
|
|
|
|
39 |
| Typically this will be your index.php file, unless you've renamed it to
|
|
|
40 |
| something else. If you are using mod_rewrite to remove the page set this
|
|
|
41 |
| variable so that it is blank.
|
|
|
42 |
|
|
|
|
43 |
*/
|
|
|
44 |
$config['index_page'] = 'index.php';
|
|
|
45 |
|
|
|
46 |
/*
|
|
|
47 |
|--------------------------------------------------------------------------
|
|
|
48 |
| URI PROTOCOL
|
|
|
49 |
|--------------------------------------------------------------------------
|
|
|
50 |
|
|
|
|
51 |
| This item determines which server global should be used to retrieve the
|
|
|
52 |
| URI string. The default setting of 'REQUEST_URI' works for most servers.
|
|
|
53 |
| If your links do not seem to work, try one of the other delicious flavors:
|
|
|
54 |
|
|
|
|
55 |
| 'REQUEST_URI' Uses $_SERVER['REQUEST_URI']
|
|
|
56 |
| 'QUERY_STRING' Uses $_SERVER['QUERY_STRING']
|
|
|
57 |
| 'PATH_INFO' Uses $_SERVER['PATH_INFO']
|
|
|
58 |
|
|
|
|
59 |
| WARNING: If you set this to 'PATH_INFO', URIs will always be URL-decoded!
|
|
|
60 |
*/
|
| 2047 |
lars |
61 |
$config['uri_protocol'] = 'REQUEST_URI';
|
| 755 |
lars |
62 |
|
|
|
63 |
/*
|
|
|
64 |
|--------------------------------------------------------------------------
|
|
|
65 |
| URL suffix
|
|
|
66 |
|--------------------------------------------------------------------------
|
|
|
67 |
|
|
|
|
68 |
| This option allows you to add a suffix to all URLs generated by CodeIgniter.
|
|
|
69 |
| For more information please see the user guide:
|
|
|
70 |
|
|
|
|
71 |
| https://codeigniter.com/user_guide/general/urls.html
|
|
|
72 |
*/
|
| 826 |
lars |
73 |
$config['url_suffix'] = '.html';
|
| 755 |
lars |
74 |
|
|
|
75 |
/*
|
|
|
76 |
|--------------------------------------------------------------------------
|
|
|
77 |
| Default Language
|
|
|
78 |
|--------------------------------------------------------------------------
|
|
|
79 |
|
|
|
|
80 |
| This determines which set of language files should be used. Make sure
|
|
|
81 |
| there is an available translation if you intend to use something other
|
|
|
82 |
| than english.
|
|
|
83 |
|
|
|
|
84 |
*/
|
| 2392 |
lars |
85 |
$config['language'] = 'german';
|
| 755 |
lars |
86 |
|
|
|
87 |
/*
|
|
|
88 |
|--------------------------------------------------------------------------
|
|
|
89 |
| Default Character Set
|
|
|
90 |
|--------------------------------------------------------------------------
|
|
|
91 |
|
|
|
|
92 |
| This determines which character set is used by default in various methods
|
|
|
93 |
| that require a character set to be provided.
|
|
|
94 |
|
|
|
|
95 |
| See http://php.net/htmlspecialchars for a list of supported charsets.
|
|
|
96 |
|
|
|
|
97 |
*/
|
|
|
98 |
$config['charset'] = 'UTF-8';
|
|
|
99 |
|
|
|
100 |
/*
|
|
|
101 |
|--------------------------------------------------------------------------
|
|
|
102 |
| Enable/Disable System Hooks
|
|
|
103 |
|--------------------------------------------------------------------------
|
|
|
104 |
|
|
|
|
105 |
| If you would like to use the 'hooks' feature you must enable it by
|
|
|
106 |
| setting this variable to TRUE (boolean). See the user guide for details.
|
|
|
107 |
|
|
|
|
108 |
*/
|
|
|
109 |
$config['enable_hooks'] = FALSE;
|
|
|
110 |
|
|
|
111 |
/*
|
|
|
112 |
|--------------------------------------------------------------------------
|
|
|
113 |
| Class Extension Prefix
|
|
|
114 |
|--------------------------------------------------------------------------
|
|
|
115 |
|
|
|
|
116 |
| This item allows you to set the filename/classname prefix when extending
|
|
|
117 |
| native libraries. For more information please see the user guide:
|
|
|
118 |
|
|
|
|
119 |
| https://codeigniter.com/user_guide/general/core_classes.html
|
|
|
120 |
| https://codeigniter.com/user_guide/general/creating_libraries.html
|
|
|
121 |
|
|
|
|
122 |
*/
|
|
|
123 |
$config['subclass_prefix'] = 'MY_';
|
|
|
124 |
|
|
|
125 |
/*
|
|
|
126 |
|--------------------------------------------------------------------------
|
|
|
127 |
| Composer auto-loading
|
|
|
128 |
|--------------------------------------------------------------------------
|
|
|
129 |
|
|
|
|
130 |
| Enabling this setting will tell CodeIgniter to look for a Composer
|
|
|
131 |
| package auto-loader script in application/vendor/autoload.php.
|
|
|
132 |
|
|
|
|
133 |
| $config['composer_autoload'] = TRUE;
|
|
|
134 |
|
|
|
|
135 |
| Or if you have your vendor/ directory located somewhere else, you
|
|
|
136 |
| can opt to set a specific path as well:
|
|
|
137 |
|
|
|
|
138 |
| $config['composer_autoload'] = '/path/to/vendor/autoload.php';
|
|
|
139 |
|
|
|
|
140 |
| For more information about Composer, please visit http://getcomposer.org/
|
|
|
141 |
|
|
|
|
142 |
| Note: This will NOT disable or override the CodeIgniter-specific
|
|
|
143 |
| autoloading (application/config/autoload.php)
|
|
|
144 |
*/
|
|
|
145 |
$config['composer_autoload'] = FALSE;
|
|
|
146 |
|
|
|
147 |
/*
|
|
|
148 |
|--------------------------------------------------------------------------
|
|
|
149 |
| Allowed URL Characters
|
|
|
150 |
|--------------------------------------------------------------------------
|
|
|
151 |
|
|
|
|
152 |
| This lets you specify which characters are permitted within your URLs.
|
|
|
153 |
| When someone tries to submit a URL with disallowed characters they will
|
|
|
154 |
| get a warning message.
|
|
|
155 |
|
|
|
|
156 |
| As a security measure you are STRONGLY encouraged to restrict URLs to
|
|
|
157 |
| as few characters as possible. By default only these are allowed: a-z 0-9~%.:_-
|
|
|
158 |
|
|
|
|
159 |
| Leave blank to allow all characters -- but only if you are insane.
|
|
|
160 |
|
|
|
|
161 |
| The configured value is actually a regular expression character group
|
|
|
162 |
| and it will be executed as: ! preg_match('/^[<permitted_uri_chars>]+$/i
|
|
|
163 |
|
|
|
|
164 |
| DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!!
|
|
|
165 |
|
|
|
|
166 |
*/
|
| 2256 |
lars |
167 |
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-\(\)';
|
| 755 |
lars |
168 |
|
|
|
169 |
/*
|
|
|
170 |
|--------------------------------------------------------------------------
|
|
|
171 |
| Enable Query Strings
|
|
|
172 |
|--------------------------------------------------------------------------
|
|
|
173 |
|
|
|
|
174 |
| By default CodeIgniter uses search-engine friendly segment based URLs:
|
|
|
175 |
| example.com/who/what/where/
|
|
|
176 |
|
|
|
|
177 |
| By default CodeIgniter enables access to the $_GET array. If for some
|
|
|
178 |
| reason you would like to disable it, set 'allow_get_array' to FALSE.
|
|
|
179 |
|
|
|
|
180 |
| You can optionally enable standard query string based URLs:
|
|
|
181 |
| example.com?who=me&what=something&where=here
|
|
|
182 |
|
|
|
|
183 |
| Options are: TRUE or FALSE (boolean)
|
|
|
184 |
|
|
|
|
185 |
| The other items let you set the query string 'words' that will
|
|
|
186 |
| invoke your controllers and its functions:
|
|
|
187 |
| example.com/index.php?c=controller&m=function
|
|
|
188 |
|
|
|
|
189 |
| Please note that some of the helpers won't work as expected when
|
|
|
190 |
| this feature is enabled, since CodeIgniter is designed primarily to
|
|
|
191 |
| use segment based URLs.
|
|
|
192 |
|
|
|
|
193 |
*/
|
|
|
194 |
$config['allow_get_array'] = TRUE;
|
|
|
195 |
$config['enable_query_strings'] = FALSE;
|
|
|
196 |
$config['controller_trigger'] = 'c';
|
|
|
197 |
$config['function_trigger'] = 'm';
|
|
|
198 |
$config['directory_trigger'] = 'd';
|
|
|
199 |
|
|
|
200 |
/*
|
|
|
201 |
|--------------------------------------------------------------------------
|
|
|
202 |
| Error Logging Threshold
|
|
|
203 |
|--------------------------------------------------------------------------
|
|
|
204 |
|
|
|
|
205 |
| You can enable error logging by setting a threshold over zero. The
|
|
|
206 |
| threshold determines what gets logged. Threshold options are:
|
|
|
207 |
|
|
|
|
208 |
| 0 = Disables logging, Error logging TURNED OFF
|
|
|
209 |
| 1 = Error Messages (including PHP errors)
|
|
|
210 |
| 2 = Debug Messages
|
|
|
211 |
| 3 = Informational Messages
|
|
|
212 |
| 4 = All Messages
|
|
|
213 |
|
|
|
|
214 |
| You can also pass an array with threshold levels to show individual error types
|
|
|
215 |
|
|
|
|
216 |
| array(2) = Debug Messages, without Error Messages
|
|
|
217 |
|
|
|
|
218 |
| For a live site you'll usually only enable Errors (1) to be logged otherwise
|
|
|
219 |
| your log files will fill up very fast.
|
|
|
220 |
|
|
|
|
221 |
*/
|
|
|
222 |
$config['log_threshold'] = 1;
|
|
|
223 |
|
|
|
224 |
/*
|
|
|
225 |
|--------------------------------------------------------------------------
|
|
|
226 |
| Error Logging Directory Path
|
|
|
227 |
|--------------------------------------------------------------------------
|
|
|
228 |
|
|
|
|
229 |
| Leave this BLANK unless you would like to set something other than the default
|
|
|
230 |
| application/logs/ directory. Use a full server path with trailing slash.
|
|
|
231 |
|
|
|
|
232 |
*/
|
|
|
233 |
$config['log_path'] = '';
|
|
|
234 |
|
|
|
235 |
/*
|
|
|
236 |
|--------------------------------------------------------------------------
|
|
|
237 |
| Log File Extension
|
|
|
238 |
|--------------------------------------------------------------------------
|
|
|
239 |
|
|
|
|
240 |
| The default filename extension for log files. The default 'php' allows for
|
|
|
241 |
| protecting the log files via basic scripting, when they are to be stored
|
|
|
242 |
| under a publicly accessible directory.
|
|
|
243 |
|
|
|
|
244 |
| Note: Leaving it blank will default to 'php'.
|
|
|
245 |
|
|
|
|
246 |
*/
|
|
|
247 |
$config['log_file_extension'] = '';
|
|
|
248 |
|
|
|
249 |
/*
|
|
|
250 |
|--------------------------------------------------------------------------
|
|
|
251 |
| Log File Permissions
|
|
|
252 |
|--------------------------------------------------------------------------
|
|
|
253 |
|
|
|
|
254 |
| The file system permissions to be applied on newly created log files.
|
|
|
255 |
|
|
|
|
256 |
| IMPORTANT: This MUST be an integer (no quotes) and you MUST use octal
|
|
|
257 |
| integer notation (i.e. 0700, 0644, etc.)
|
|
|
258 |
*/
|
|
|
259 |
$config['log_file_permissions'] = 0644;
|
|
|
260 |
|
|
|
261 |
/*
|
|
|
262 |
|--------------------------------------------------------------------------
|
|
|
263 |
| Date Format for Logs
|
|
|
264 |
|--------------------------------------------------------------------------
|
|
|
265 |
|
|
|
|
266 |
| Each item that is logged has an associated date. You can use PHP date
|
|
|
267 |
| codes to set your own date formatting
|
|
|
268 |
|
|
|
|
269 |
*/
|
|
|
270 |
$config['log_date_format'] = 'Y-m-d H:i:s';
|
|
|
271 |
|
|
|
272 |
/*
|
|
|
273 |
|--------------------------------------------------------------------------
|
|
|
274 |
| Error Views Directory Path
|
|
|
275 |
|--------------------------------------------------------------------------
|
|
|
276 |
|
|
|
|
277 |
| Leave this BLANK unless you would like to set something other than the default
|
|
|
278 |
| application/views/errors/ directory. Use a full server path with trailing slash.
|
|
|
279 |
|
|
|
|
280 |
*/
|
|
|
281 |
$config['error_views_path'] = '';
|
|
|
282 |
|
|
|
283 |
/*
|
|
|
284 |
|--------------------------------------------------------------------------
|
|
|
285 |
| Cache Directory Path
|
|
|
286 |
|--------------------------------------------------------------------------
|
|
|
287 |
|
|
|
|
288 |
| Leave this BLANK unless you would like to set something other than the default
|
|
|
289 |
| application/cache/ directory. Use a full server path with trailing slash.
|
|
|
290 |
|
|
|
|
291 |
*/
|
|
|
292 |
$config['cache_path'] = '';
|
|
|
293 |
|
|
|
294 |
/*
|
|
|
295 |
|--------------------------------------------------------------------------
|
|
|
296 |
| Cache Include Query String
|
|
|
297 |
|--------------------------------------------------------------------------
|
|
|
298 |
|
|
|
|
299 |
| Whether to take the URL query string into consideration when generating
|
|
|
300 |
| output cache files. Valid options are:
|
|
|
301 |
|
|
|
|
302 |
| FALSE = Disabled
|
|
|
303 |
| TRUE = Enabled, take all query parameters into account.
|
|
|
304 |
| Please be aware that this may result in numerous cache
|
|
|
305 |
| files generated for the same page over and over again.
|
|
|
306 |
| array('q') = Enabled, but only take into account the specified list
|
|
|
307 |
| of query parameters.
|
|
|
308 |
|
|
|
|
309 |
*/
|
|
|
310 |
$config['cache_query_string'] = FALSE;
|
|
|
311 |
|
|
|
312 |
/*
|
|
|
313 |
|--------------------------------------------------------------------------
|
|
|
314 |
| Encryption Key
|
|
|
315 |
|--------------------------------------------------------------------------
|
|
|
316 |
|
|
|
|
317 |
| If you use the Encryption class, you must set an encryption key.
|
|
|
318 |
| See the user guide for more info.
|
|
|
319 |
|
|
|
|
320 |
| https://codeigniter.com/user_guide/libraries/encryption.html
|
|
|
321 |
|
|
|
|
322 |
*/
|
|
|
323 |
$config['encryption_key'] = '';
|
|
|
324 |
|
|
|
325 |
/*
|
|
|
326 |
|--------------------------------------------------------------------------
|
|
|
327 |
| Session Variables
|
|
|
328 |
|--------------------------------------------------------------------------
|
|
|
329 |
|
|
|
|
330 |
| 'sess_driver'
|
|
|
331 |
|
|
|
|
332 |
| The storage driver to use: files, database, redis, memcached
|
|
|
333 |
|
|
|
|
334 |
| 'sess_cookie_name'
|
|
|
335 |
|
|
|
|
336 |
| The session cookie name, must contain only [0-9a-z_-] characters
|
|
|
337 |
|
|
|
|
338 |
| 'sess_expiration'
|
|
|
339 |
|
|
|
|
340 |
| The number of SECONDS you want the session to last.
|
|
|
341 |
| Setting to 0 (zero) means expire when the browser is closed.
|
|
|
342 |
|
|
|
|
343 |
| 'sess_save_path'
|
|
|
344 |
|
|
|
|
345 |
| The location to save sessions to, driver dependent.
|
|
|
346 |
|
|
|
|
347 |
| For the 'files' driver, it's a path to a writable directory.
|
|
|
348 |
| WARNING: Only absolute paths are supported!
|
|
|
349 |
|
|
|
|
350 |
| For the 'database' driver, it's a table name.
|
|
|
351 |
| Please read up the manual for the format with other session drivers.
|
|
|
352 |
|
|
|
|
353 |
| IMPORTANT: You are REQUIRED to set a valid save path!
|
|
|
354 |
|
|
|
|
355 |
| 'sess_match_ip'
|
|
|
356 |
|
|
|
|
357 |
| Whether to match the user's IP address when reading the session data.
|
|
|
358 |
|
|
|
|
359 |
| WARNING: If you're using the database driver, don't forget to update
|
|
|
360 |
| your session table's PRIMARY KEY when changing this setting.
|
|
|
361 |
|
|
|
|
362 |
| 'sess_time_to_update'
|
|
|
363 |
|
|
|
|
364 |
| How many seconds between CI regenerating the session ID.
|
|
|
365 |
|
|
|
|
366 |
| 'sess_regenerate_destroy'
|
|
|
367 |
|
|
|
|
368 |
| Whether to destroy session data associated with the old session ID
|
|
|
369 |
| when auto-regenerating the session ID. When set to FALSE, the data
|
|
|
370 |
| will be later deleted by the garbage collector.
|
|
|
371 |
|
|
|
|
372 |
| Other session cookie settings are shared with the rest of the application,
|
|
|
373 |
| except for 'cookie_prefix' and 'cookie_httponly', which are ignored here.
|
|
|
374 |
|
|
|
|
375 |
*/
|
|
|
376 |
$config['sess_driver'] = 'files';
|
|
|
377 |
$config['sess_cookie_name'] = 'ci_session';
|
|
|
378 |
$config['sess_expiration'] = 7200;
|
| 2256 |
lars |
379 |
$config['sess_save_path'] = ini_get("session.save_path");
|
| 755 |
lars |
380 |
$config['sess_match_ip'] = FALSE;
|
|
|
381 |
$config['sess_time_to_update'] = 300;
|
|
|
382 |
$config['sess_regenerate_destroy'] = FALSE;
|
|
|
383 |
|
|
|
384 |
/*
|
|
|
385 |
|--------------------------------------------------------------------------
|
|
|
386 |
| Cookie Related Variables
|
|
|
387 |
|--------------------------------------------------------------------------
|
|
|
388 |
|
|
|
|
389 |
| 'cookie_prefix' = Set a cookie name prefix if you need to avoid collisions
|
|
|
390 |
| 'cookie_domain' = Set to .your-domain.com for site-wide cookies
|
|
|
391 |
| 'cookie_path' = Typically will be a forward slash
|
|
|
392 |
| 'cookie_secure' = Cookie will only be set if a secure HTTPS connection exists.
|
|
|
393 |
| 'cookie_httponly' = Cookie will only be accessible via HTTP(S) (no javascript)
|
|
|
394 |
|
|
|
|
395 |
| Note: These settings (with the exception of 'cookie_prefix' and
|
|
|
396 |
| 'cookie_httponly') will also affect sessions.
|
|
|
397 |
|
|
|
|
398 |
*/
|
| 2047 |
lars |
399 |
$config['cookie_prefix'] = '';
|
|
|
400 |
$config['cookie_domain'] = '';
|
|
|
401 |
$config['cookie_path'] = '/';
|
|
|
402 |
$config['cookie_secure'] = FALSE;
|
|
|
403 |
$config['cookie_httponly'] = FALSE;
|
| 755 |
lars |
404 |
|
|
|
405 |
/*
|
|
|
406 |
|--------------------------------------------------------------------------
|
|
|
407 |
| Standardize newlines
|
|
|
408 |
|--------------------------------------------------------------------------
|
|
|
409 |
|
|
|
|
410 |
| Determines whether to standardize newline characters in input data,
|
|
|
411 |
| meaning to replace \r\n, \r, \n occurrences with the PHP_EOL value.
|
|
|
412 |
|
|
|
|
413 |
| This is particularly useful for portability between UNIX-based OSes,
|
|
|
414 |
| (usually \n) and Windows (\r\n).
|
|
|
415 |
|
|
|
|
416 |
*/
|
|
|
417 |
$config['standardize_newlines'] = FALSE;
|
|
|
418 |
|
|
|
419 |
/*
|
|
|
420 |
|--------------------------------------------------------------------------
|
|
|
421 |
| Global XSS Filtering
|
|
|
422 |
|--------------------------------------------------------------------------
|
|
|
423 |
|
|
|
|
424 |
| Determines whether the XSS filter is always active when GET, POST or
|
|
|
425 |
| COOKIE data is encountered
|
|
|
426 |
|
|
|
|
427 |
| WARNING: This feature is DEPRECATED and currently available only
|
|
|
428 |
| for backwards compatibility purposes!
|
|
|
429 |
|
|
|
|
430 |
*/
|
| 763 |
lars |
431 |
$config['global_xss_filtering'] = TRUE;
|
| 755 |
lars |
432 |
|
|
|
433 |
/*
|
|
|
434 |
|--------------------------------------------------------------------------
|
|
|
435 |
| Cross Site Request Forgery
|
|
|
436 |
|--------------------------------------------------------------------------
|
|
|
437 |
| Enables a CSRF cookie token to be set. When set to TRUE, token will be
|
|
|
438 |
| checked on a submitted form. If you are accepting user data, it is strongly
|
|
|
439 |
| recommended CSRF protection be enabled.
|
|
|
440 |
|
|
|
|
441 |
| 'csrf_token_name' = The token name
|
|
|
442 |
| 'csrf_cookie_name' = The cookie name
|
|
|
443 |
| 'csrf_expire' = The number in seconds the token should expire.
|
|
|
444 |
| 'csrf_regenerate' = Regenerate token on every submission
|
|
|
445 |
| 'csrf_exclude_uris' = Array of URIs which ignore CSRF checks
|
|
|
446 |
*/
|
| 763 |
lars |
447 |
$config['csrf_protection'] = TRUE;
|
| 755 |
lars |
448 |
$config['csrf_token_name'] = 'csrf_test_name';
|
|
|
449 |
$config['csrf_cookie_name'] = 'csrf_cookie_name';
|
|
|
450 |
$config['csrf_expire'] = 7200;
|
|
|
451 |
$config['csrf_regenerate'] = TRUE;
|
|
|
452 |
$config['csrf_exclude_uris'] = array();
|
|
|
453 |
|
|
|
454 |
/*
|
|
|
455 |
|--------------------------------------------------------------------------
|
|
|
456 |
| Output Compression
|
|
|
457 |
|--------------------------------------------------------------------------
|
|
|
458 |
|
|
|
|
459 |
| Enables Gzip output compression for faster page loads. When enabled,
|
|
|
460 |
| the output class will test whether your server supports Gzip.
|
|
|
461 |
| Even if it does, however, not all browsers support compression
|
|
|
462 |
| so enable only if you are reasonably sure your visitors can handle it.
|
|
|
463 |
|
|
|
|
464 |
| Only used if zlib.output_compression is turned off in your php.ini.
|
|
|
465 |
| Please do not use it together with httpd-level output compression.
|
|
|
466 |
|
|
|
|
467 |
| VERY IMPORTANT: If you are getting a blank page when compression is enabled it
|
|
|
468 |
| means you are prematurely outputting something to your browser. It could
|
|
|
469 |
| even be a line of whitespace at the end of one of your scripts. For
|
|
|
470 |
| compression to work, nothing can be sent before the output buffer is called
|
|
|
471 |
| by the output class. Do not 'echo' any values with compression enabled.
|
|
|
472 |
|
|
|
|
473 |
*/
|
| 2083 |
lars |
474 |
$config['compress_output'] = FALSE;
|
| 755 |
lars |
475 |
|
|
|
476 |
/*
|
|
|
477 |
|--------------------------------------------------------------------------
|
|
|
478 |
| Master Time Reference
|
|
|
479 |
|--------------------------------------------------------------------------
|
|
|
480 |
|
|
|
|
481 |
| Options are 'local' or any PHP supported timezone. This preference tells
|
|
|
482 |
| the system whether to use your server's local time as the master 'now'
|
|
|
483 |
| reference, or convert it to the configured one timezone. See the 'date
|
|
|
484 |
| helper' page of the user guide for information regarding date handling.
|
|
|
485 |
|
|
|
|
486 |
*/
|
|
|
487 |
$config['time_reference'] = 'local';
|
|
|
488 |
|
|
|
489 |
/*
|
|
|
490 |
|--------------------------------------------------------------------------
|
|
|
491 |
| Rewrite PHP Short Tags
|
|
|
492 |
|--------------------------------------------------------------------------
|
|
|
493 |
|
|
|
|
494 |
| If your PHP installation does not have short tag support enabled CI
|
|
|
495 |
| can rewrite the tags on-the-fly, enabling you to utilize that syntax
|
|
|
496 |
| in your view files. Options are TRUE or FALSE (boolean)
|
|
|
497 |
|
|
|
|
498 |
| Note: You need to have eval() enabled for this to work.
|
|
|
499 |
|
|
|
|
500 |
*/
|
|
|
501 |
$config['rewrite_short_tags'] = FALSE;
|
|
|
502 |
|
|
|
503 |
/*
|
|
|
504 |
|--------------------------------------------------------------------------
|
|
|
505 |
| Reverse Proxy IPs
|
|
|
506 |
|--------------------------------------------------------------------------
|
|
|
507 |
|
|
|
|
508 |
| If your server is behind a reverse proxy, you must whitelist the proxy
|
|
|
509 |
| IP addresses from which CodeIgniter should trust headers such as
|
|
|
510 |
| HTTP_X_FORWARDED_FOR and HTTP_CLIENT_IP in order to properly identify
|
|
|
511 |
| the visitor's IP address.
|
|
|
512 |
|
|
|
|
513 |
| You can use both an array or a comma-separated list of proxy addresses,
|
|
|
514 |
| as well as specifying whole subnets. Here are a few examples:
|
|
|
515 |
|
|
|
|
516 |
| Comma-separated: '10.0.1.200,192.168.5.0/24'
|
|
|
517 |
| Array: array('10.0.1.200', '192.168.5.0/24')
|
|
|
518 |
*/
|
|
|
519 |
$config['proxy_ips'] = '';
|