Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
tetiana yaremko
/
web-app-group2
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d8b37bdb
authored
Apr 23, 2020
by
tetiana yaremko
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
cart session fixed
parent
a8994c84
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
application/config/config.php
application/config/config.php
View file @
d8b37bdb
...
...
@@ -23,8 +23,8 @@ defined('BASEPATH') OR exit('No direct script access allowed');
| a PHP script and you can easily do that on your own.
|
*/
//
$config['base_url'] = 'https://wbt-2-ty-272811.appspot.com/';
$config
[
'base_url'
]
=
'http://localhost/webapp/ci/'
;
$config
[
'base_url'
]
=
'https://wbt-2-ty-272811.appspot.com/'
;
//
$config['base_url'] = 'http://localhost/webapp/ci/';
/*
|--------------------------------------------------------------------------
...
...
@@ -379,22 +379,22 @@ $config['encryption_key'] = 'femEDWTX$AQ@6HggkKn8RWGf!*ufK?KC';
| except for 'cookie_prefix' and 'cookie_httponly', which are ignored here.
|
*/
//$config['sess_driver'] = 'memcached';
//$config['sess_cookie_name'] = 'ci_session';
//$config['sess_expiration'] = 7200;
//$config['sess_save_path'] = 'localhost:11211';
//$config['sess_match_ip'] = FALSE;
//$config['sess_time_to_update'] = 7200;
//$config['sess_regenerate_destroy'] = FALSE;
$config
[
'sess_driver'
]
=
'database'
;
$config
[
'sess_driver'
]
=
'memcached'
;
$config
[
'sess_cookie_name'
]
=
'ci_session'
;
$config
[
'sess_expiration'
]
=
7200
;
$config
[
'sess_save_path'
]
=
'
ci_sessions
'
;
$config
[
'sess_save_path'
]
=
'
localhost:11211
'
;
$config
[
'sess_match_ip'
]
=
FALSE
;
$config
[
'sess_time_to_update'
]
=
7200
;
$config
[
'sess_regenerate_destroy'
]
=
FALSE
;
//$config['sess_driver'] = 'database';
//$config['sess_cookie_name'] = 'ci_session';
//$config['sess_expiration'] = 7200;
//$config['sess_save_path'] = 'ci_sessions';
//$config['sess_match_ip'] = FALSE;
//$config['sess_time_to_update'] = 7200;
//$config['sess_regenerate_destroy'] = FALSE;
/*
|--------------------------------------------------------------------------
| Cookie Related Variables
...
...
@@ -458,7 +458,7 @@ $config['global_xss_filtering'] = true;
| 'csrf_regenerate' = Regenerate token on every submission
| 'csrf_exclude_uris' = Array of URIs which ignore CSRF checks
*/
$config
[
'csrf_protection'
]
=
fals
e
;
$config
[
'csrf_protection'
]
=
tru
e
;
$config
[
'csrf_token_name'
]
=
'csrf_test_name'
;
$config
[
'csrf_cookie_name'
]
=
'csrf_cookie_name'
;
$config
[
'csrf_expire'
]
=
7200
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment