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
b3261acc
authored
Apr 21, 2020
by
tetiana yaremko
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
dayabase updaye
parent
be3dbe3d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
13 deletions
application/.htaccess
application/config/autoload.php
application/config/config.php
application/config/routes.php
application/.htaccess
View file @
b3261acc
<
IfModule
authz_core_module
>
Require
all denied
</
IfModule
>
<
IfModule
!authz_core_module
>
Deny
from
all
</
IfModule
>
\ No newline at end of file
RewriteEngine
On
RewriteBase
/
RewriteCond
%{REQUEST_URI} ^codeigniter*
RewriteRule
^(.*)$ /index.php?/$1 [L]
RewriteCond
%{REQUEST_URI} ^application.*
RewriteRule
^(.*)$ /index.php?/$1 [L]
RewriteCond
%{REQUEST_FILENAME} !-f
RewriteCond
%{REQUEST_FILENAME} !-d
RewriteRule
^(.*)$ /index.php?/$1 [L]
application/config/autoload.php
View file @
b3261acc
...
...
@@ -89,7 +89,7 @@ $autoload['drivers'] = array('session');
|
| $autoload['helper'] = array('url', 'file');
*/
$autoload
[
'helper'
]
=
array
(
'url'
,
'asset'
,
'form'
);
$autoload
[
'helper'
]
=
array
(
'url'
,
'asset'
,
'form'
,
'security'
);
/*
| -------------------------------------------------------------------
...
...
application/config/config.php
View file @
b3261acc
...
...
@@ -377,10 +377,10 @@ $config['encryption_key'] = 'femEDWTX$AQ@6HggkKn8RWGf!*ufK?KC';
| except for 'cookie_prefix' and 'cookie_httponly', which are ignored here.
|
*/
$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
;
...
...
@@ -432,7 +432,7 @@ $config['standardize_newlines'] = FALSE;
| for backwards compatibility purposes!
|
*/
$config
[
'global_xss_filtering'
]
=
tru
e
;
$config
[
'global_xss_filtering'
]
=
fals
e
;
/*
|--------------------------------------------------------------------------
...
...
@@ -448,7 +448,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'
]
=
tru
e
;
$config
[
'csrf_protection'
]
=
fals
e
;
$config
[
'csrf_token_name'
]
=
'csrf_test_name'
;
$config
[
'csrf_cookie_name'
]
=
'csrf_cookie_name'
;
$config
[
'csrf_expire'
]
=
7200
;
...
...
application/config/routes.php
View file @
b3261acc
...
...
@@ -49,6 +49,6 @@ defined('BASEPATH') OR exit('No direct script access allowed');
| Examples: my-controller/index -> my_controller/index
| my-controller/my-method -> my_controller/my_method
*/
$route
[
'default_controller'
]
=
'
welcome
'
;
$route
[
'default_controller'
]
=
'
login
'
;
$route
[
'404_override'
]
=
''
;
$route
[
'translate_uri_dashes'
]
=
FALSE
;
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