| DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!!
|
*/
-$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';
+$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-+&';
/*
| MUST set an encryption key. See the user guide for info.
|
*/
-$config['encryption_key'] = '';
+$config['encryption_key'] = '328pgYhL6Fc87WC46UHIaaxHBYeutR5u';
/*
|--------------------------------------------------------------------------
| 'sess_time_to_update' = how many seconds between CI refreshing Session Information
|
*/
-$config['sess_cookie_name'] = 'ci_session';
+$config['sess_cookie_name'] = 'p2ptube_session';
$config['sess_expiration'] = 7200;
$config['sess_expire_on_close'] = FALSE;
$config['sess_encrypt_cookie'] = FALSE;
-$config['sess_use_database'] = FALSE;
-$config['sess_table_name'] = 'ci_sessions';
-$config['sess_match_ip'] = FALSE;
+$config['sess_use_database'] = TRUE;
+$config['sess_table_name'] = 'sessions';
+$config['sess_match_ip'] = TRUE;
$config['sess_match_useragent'] = TRUE;
$config['sess_time_to_update'] = 300;
| regarding date handling.
|
*/
-$config['time_reference'] = 'local';
+$config['time_reference'] = 'gmt';
/*
$config['proxy_ips'] = '';
+/*
+| -------------------------------------------------------------------
+| Native Autoload - by Phil Sturgeon.
+| -------------------------------------------------------------------
+|
+| Nothing to do with config/autoload.php, this allows PHP autoload to work
+| for base controllers and some third-party libraries.
+|
+| If using HMVC you do not need this! HMVC will autoload.
+|
+| Place this code at the bottom of your application/config/config.php file.
+*/
+function __autoload($class)
+{
+ if (strpos($class, 'CI_') !== 0)
+ {
+ if (file_exists($file = APPPATH . 'core/' . $class . EXT))
+ {
+ include $file;
+ }
+ elseif (file_exists($file = APPPATH . 'libraries/' . $class . EXT))
+ {
+ include $file;
+ }
+ }
+}