From 3f01ddce9dff69a49493541882de85854cbcebe5 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 8 Apr 2012 23:13:15 +0200 Subject: start working on users Signed-off-by: Florian Pritz --- application/config/example/config.php | 6 ++---- application/config/example/routes.php | 1 + 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'application/config/example') diff --git a/application/config/example/config.php b/application/config/example/config.php index bcd71a5ce..bd9ec40aa 100755 --- a/application/config/example/config.php +++ b/application/config/example/config.php @@ -224,7 +224,7 @@ $config['cache_path'] = ''; | MUST set an encryption key. See the user guide for info. | */ -$config['encryption_key'] = ''; +$config['encryption_key'] = ''; # set this to a 32char random string /* |-------------------------------------------------------------------------- @@ -248,7 +248,7 @@ $config['sess_cookie_name'] = 'ci_session'; $config['sess_expiration'] = 7200; $config['sess_expire_on_close'] = FALSE; $config['sess_encrypt_cookie'] = FALSE; -$config['sess_use_database'] = FALSE; +$config['sess_use_database'] = true; $config['sess_table_name'] = 'ci_sessions'; $config['sess_match_ip'] = FALSE; $config['sess_match_useragent'] = TRUE; @@ -379,8 +379,6 @@ $config['upload_max_age'] = 60*60*24*5; // 5 days // won't be deleted $config['small_upload_size'] = 1024*10; // 10KB -$config['passwordsalt'] = ''; // just enter any string you want here - $config['contact_me_url'] = ''; // ommiting this will remove the "contact me" line. /* End of file config.php */ diff --git a/application/config/example/routes.php b/application/config/example/routes.php index 2697c6b11..3ae891bfd 100755 --- a/application/config/example/routes.php +++ b/application/config/example/routes.php @@ -39,6 +39,7 @@ */ $route['default_controller'] = "file"; +$route['user/(:any)'] = "user/$1"; $route['file/(:any)'] = "file/$1"; $route['(:any)'] = "file/index/$1"; $route['404_override'] = ''; -- cgit v1.2.3-24-g4f1b