source: lliurex-jocomunico/trunk/fuentes/lliurex-jocomunico.install/var/lib/application/config/config.php @ 5728

Last change on this file since 5728 was 5728, checked in by joamuran, 3 years ago

Added zero-installed and updated jocomunico

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