Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
retypos-server
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eterfund
retypos-server
Commits
f41499cc
Commit
f41499cc
authored
Jun 08, 2017
by
George Popoff
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed config.php from git
parent
183e2dd1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
94 deletions
+15
-94
.gitignore
.gitignore
+1
-1
config.example.php
cp/application/config/config.example.php
+14
-93
No files found.
.gitignore
View file @
f41499cc
configuration
.php
new_cp/application/config/config
.php
new_cp/application/config/database.php
new_cp/application/config/database.php
/nbproject
/nbproject
gi
gi
cp/application/config/config.php
→
cp/application/config/config.
example.
php
View file @
f41499cc
<?php
<?php
defined
(
'BASEPATH'
)
OR
exit
(
'No direct script access allowed'
);
defined
(
'BASEPATH'
)
OR
exit
(
'No direct script access allowed'
);
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Base Site URL
| Base Site URL
...
@@ -23,9 +22,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
...
@@ -23,9 +22,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
| a PHP script and you can easily do that on your own.
| a PHP script and you can easily do that on your own.
|
|
*/
*/
$config
[
'base_url'
]
=
''
;
$config
[
'base_url'
]
=
'//eterfund.ru/api/typos/cp/'
;
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Index File
| Index File
...
@@ -36,8 +33,7 @@ $config['base_url'] = '//eterfund.ru/api/typos/cp/';
...
@@ -36,8 +33,7 @@ $config['base_url'] = '//eterfund.ru/api/typos/cp/';
| variable so that it is blank.
| variable so that it is blank.
|
|
*/
*/
$config
[
'index_page'
]
=
''
;
$config
[
'index_page'
]
=
'index.php'
;
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| URI PROTOCOL
| URI PROTOCOL
...
@@ -54,7 +50,6 @@ $config['index_page'] = '';
...
@@ -54,7 +50,6 @@ $config['index_page'] = '';
| WARNING: If you set this to 'PATH_INFO', URIs will always be URL-decoded!
| WARNING: If you set this to 'PATH_INFO', URIs will always be URL-decoded!
*/
*/
$config
[
'uri_protocol'
]
=
'REQUEST_URI'
;
$config
[
'uri_protocol'
]
=
'REQUEST_URI'
;
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| URL suffix
| URL suffix
...
@@ -64,9 +59,10 @@ $config['uri_protocol'] = 'REQUEST_URI';
...
@@ -64,9 +59,10 @@ $config['uri_protocol'] = 'REQUEST_URI';
| For more information please see the user guide:
| For more information please see the user guide:
|
|
| https://codeigniter.com/user_guide/general/urls.html
| https://codeigniter.com/user_guide/general/urls.html
|
| Note: This option is ignored for CLI requests.
*/
*/
$config
[
'url_suffix'
]
=
''
;
$config
[
'url_suffix'
]
=
''
;
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Default Language
| Default Language
...
@@ -78,7 +74,6 @@ $config['url_suffix'] = '';
...
@@ -78,7 +74,6 @@ $config['url_suffix'] = '';
|
|
*/
*/
$config
[
'language'
]
=
'english'
;
$config
[
'language'
]
=
'english'
;
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Default Character Set
| Default Character Set
...
@@ -91,7 +86,6 @@ $config['language'] = 'english';
...
@@ -91,7 +86,6 @@ $config['language'] = 'english';
|
|
*/
*/
$config
[
'charset'
]
=
'UTF-8'
;
$config
[
'charset'
]
=
'UTF-8'
;
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Enable/Disable System Hooks
| Enable/Disable System Hooks
...
@@ -101,8 +95,7 @@ $config['charset'] = 'UTF-8';
...
@@ -101,8 +95,7 @@ $config['charset'] = 'UTF-8';
| setting this variable to TRUE (boolean). See the user guide for details.
| setting this variable to TRUE (boolean). See the user guide for details.
|
|
*/
*/
$config
[
'enable_hooks'
]
=
true
;
$config
[
'enable_hooks'
]
=
FALSE
;
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Class Extension Prefix
| Class Extension Prefix
...
@@ -115,8 +108,7 @@ $config['enable_hooks'] = true;
...
@@ -115,8 +108,7 @@ $config['enable_hooks'] = true;
| https://codeigniter.com/user_guide/general/creating_libraries.html
| https://codeigniter.com/user_guide/general/creating_libraries.html
|
|
*/
*/
$config
[
'subclass_prefix'
]
=
'Typos_'
;
$config
[
'subclass_prefix'
]
=
'MY_'
;
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Composer auto-loading
| Composer auto-loading
...
@@ -138,7 +130,6 @@ $config['subclass_prefix'] = 'Typos_';
...
@@ -138,7 +130,6 @@ $config['subclass_prefix'] = 'Typos_';
| autoloading (application/config/autoload.php)
| autoloading (application/config/autoload.php)
*/
*/
$config
[
'composer_autoload'
]
=
FALSE
;
$config
[
'composer_autoload'
]
=
FALSE
;
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Allowed URL Characters
| Allowed URL Characters
...
@@ -158,9 +149,10 @@ $config['composer_autoload'] = FALSE;
...
@@ -158,9 +149,10 @@ $config['composer_autoload'] = FALSE;
|
|
| DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!!
| DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!!
|
|
| Note: This option is ignored for CLI requests.
|
*/
*/
$config
[
'permitted_uri_chars'
]
=
'a-z 0-9~%.:_\-'
;
$config
[
'permitted_uri_chars'
]
=
'a-z 0-9~%.:_\-'
;
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Enable Query Strings
| Enable Query Strings
...
@@ -187,21 +179,6 @@ $config['enable_query_strings'] = FALSE;
...
@@ -187,21 +179,6 @@ $config['enable_query_strings'] = FALSE;
$config
[
'controller_trigger'
]
=
'c'
;
$config
[
'controller_trigger'
]
=
'c'
;
$config
[
'function_trigger'
]
=
'm'
;
$config
[
'function_trigger'
]
=
'm'
;
$config
[
'directory_trigger'
]
=
'd'
;
$config
[
'directory_trigger'
]
=
'd'
;
/*
|--------------------------------------------------------------------------
| Allow $_GET array
|--------------------------------------------------------------------------
|
| By default CodeIgniter enables access to the $_GET array. If for some
| reason you would like to disable it, set 'allow_get_array' to FALSE.
|
| WARNING: This feature is DEPRECATED and currently available only
| for backwards compatibility purposes!
|
*/
$config
[
'allow_get_array'
]
=
TRUE
;
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Error Logging Threshold
| Error Logging Threshold
...
@@ -224,19 +201,17 @@ $config['allow_get_array'] = TRUE;
...
@@ -224,19 +201,17 @@ $config['allow_get_array'] = TRUE;
| your log files will fill up very fast.
| your log files will fill up very fast.
|
|
*/
*/
$config
[
'log_threshold'
]
=
2
;
$config
[
'log_threshold'
]
=
0
;
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Error Logging Directory Path
| Error Logging Directory Path
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
|
|
| Leave this BLANK unless you would like to set something other than the default
| Leave this BLANK unless you would like to set something other than the default
| application/logs/ directory. Use a full server path
with trailing slash
.
| application/logs/ directory. Use a full server path.
|
|
*/
*/
$config
[
'log_path'
]
=
''
;
$config
[
'log_path'
]
=
''
;
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Log File Extension
| Log File Extension
...
@@ -250,7 +225,6 @@ $config['log_path'] = '';
...
@@ -250,7 +225,6 @@ $config['log_path'] = '';
|
|
*/
*/
$config
[
'log_file_extension'
]
=
''
;
$config
[
'log_file_extension'
]
=
''
;
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Log File Permissions
| Log File Permissions
...
@@ -262,7 +236,6 @@ $config['log_file_extension'] = '';
...
@@ -262,7 +236,6 @@ $config['log_file_extension'] = '';
| integer notation (i.e. 0700, 0644, etc.)
| integer notation (i.e. 0700, 0644, etc.)
*/
*/
$config
[
'log_file_permissions'
]
=
0644
;
$config
[
'log_file_permissions'
]
=
0644
;
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Date Format for Logs
| Date Format for Logs
...
@@ -273,29 +246,26 @@ $config['log_file_permissions'] = 0644;
...
@@ -273,29 +246,26 @@ $config['log_file_permissions'] = 0644;
|
|
*/
*/
$config
[
'log_date_format'
]
=
'Y-m-d H:i:s'
;
$config
[
'log_date_format'
]
=
'Y-m-d H:i:s'
;
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Error Views Directory Path
| Error Views Directory Path
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
|
|
| Leave this BLANK unless you would like to set something other than the default
| Leave this BLANK unless you would like to set something other than the default
| application/views/errors/ directory. Use a full server path
with trailing slash
.
| application/views/errors/ directory. Use a full server path.
|
|
*/
*/
$config
[
'error_views_path'
]
=
''
;
$config
[
'error_views_path'
]
=
''
;
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Cache Directory Path
| Cache Directory Path
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
|
|
| Leave this BLANK unless you would like to set something other than the default
| Leave this BLANK unless you would like to set something other than the default
| application/cache/ directory. Use a full server path
with trailing slash
.
| application/cache/ directory. Use a full server path.
|
|
*/
*/
$config
[
'cache_path'
]
=
''
;
$config
[
'cache_path'
]
=
''
;
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Cache Include Query String
| Cache Include Query String
...
@@ -313,7 +283,6 @@ $config['cache_path'] = '';
...
@@ -313,7 +283,6 @@ $config['cache_path'] = '';
|
|
*/
*/
$config
[
'cache_query_string'
]
=
FALSE
;
$config
[
'cache_query_string'
]
=
FALSE
;
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Encryption Key
| Encryption Key
...
@@ -326,7 +295,6 @@ $config['cache_query_string'] = FALSE;
...
@@ -326,7 +295,6 @@ $config['cache_query_string'] = FALSE;
|
|
*/
*/
$config
[
'encryption_key'
]
=
''
;
$config
[
'encryption_key'
]
=
''
;
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Session Variables
| Session Variables
...
@@ -379,13 +347,12 @@ $config['encryption_key'] = '';
...
@@ -379,13 +347,12 @@ $config['encryption_key'] = '';
|
|
*/
*/
$config
[
'sess_driver'
]
=
'files'
;
$config
[
'sess_driver'
]
=
'files'
;
$config
[
'sess_cookie_name'
]
=
'
typos
_session'
;
$config
[
'sess_cookie_name'
]
=
'
ci
_session'
;
$config
[
'sess_expiration'
]
=
7200
;
$config
[
'sess_expiration'
]
=
7200
;
$config
[
'sess_save_path'
]
=
NULL
;
$config
[
'sess_save_path'
]
=
NULL
;
$config
[
'sess_match_ip'
]
=
TRU
E
;
$config
[
'sess_match_ip'
]
=
FALS
E
;
$config
[
'sess_time_to_update'
]
=
300
;
$config
[
'sess_time_to_update'
]
=
300
;
$config
[
'sess_regenerate_destroy'
]
=
FALSE
;
$config
[
'sess_regenerate_destroy'
]
=
FALSE
;
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Cookie Related Variables
| Cookie Related Variables
...
@@ -406,35 +373,6 @@ $config['cookie_domain'] = '';
...
@@ -406,35 +373,6 @@ $config['cookie_domain'] = '';
$config
[
'cookie_path'
]
=
'/'
;
$config
[
'cookie_path'
]
=
'/'
;
$config
[
'cookie_secure'
]
=
FALSE
;
$config
[
'cookie_secure'
]
=
FALSE
;
$config
[
'cookie_httponly'
]
=
FALSE
;
$config
[
'cookie_httponly'
]
=
FALSE
;
/*
|--------------------------------------------------------------------------
| Standardize newlines
|--------------------------------------------------------------------------
|
| Determines whether to standardize newline characters in input data,
| meaning to replace \r\n, \r, \n occurrences with the PHP_EOL value.
|
| WARNING: This feature is DEPRECATED and currently available only
| for backwards compatibility purposes!
|
*/
$config
[
'standardize_newlines'
]
=
FALSE
;
/*
|--------------------------------------------------------------------------
| Global XSS Filtering
|--------------------------------------------------------------------------
|
| Determines whether the XSS filter is always active when GET, POST or
| COOKIE data is encountered
|
| WARNING: This feature is DEPRECATED and currently available only
| for backwards compatibility purposes!
|
*/
$config
[
'global_xss_filtering'
]
=
FALSE
;
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Cross Site Request Forgery
| Cross Site Request Forgery
...
@@ -455,7 +393,6 @@ $config['csrf_cookie_name'] = 'csrf_cookie_name';
...
@@ -455,7 +393,6 @@ $config['csrf_cookie_name'] = 'csrf_cookie_name';
$config
[
'csrf_expire'
]
=
7200
;
$config
[
'csrf_expire'
]
=
7200
;
$config
[
'csrf_regenerate'
]
=
TRUE
;
$config
[
'csrf_regenerate'
]
=
TRUE
;
$config
[
'csrf_exclude_uris'
]
=
array
();
$config
[
'csrf_exclude_uris'
]
=
array
();
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Output Compression
| Output Compression
...
@@ -477,7 +414,6 @@ $config['csrf_exclude_uris'] = array();
...
@@ -477,7 +414,6 @@ $config['csrf_exclude_uris'] = array();
|
|
*/
*/
$config
[
'compress_output'
]
=
FALSE
;
$config
[
'compress_output'
]
=
FALSE
;
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Master Time Reference
| Master Time Reference
...
@@ -490,21 +426,6 @@ $config['compress_output'] = FALSE;
...
@@ -490,21 +426,6 @@ $config['compress_output'] = FALSE;
|
|
*/
*/
$config
[
'time_reference'
]
=
'local'
;
$config
[
'time_reference'
]
=
'local'
;
/*
|--------------------------------------------------------------------------
| Rewrite PHP Short Tags
|--------------------------------------------------------------------------
|
| If your PHP installation does not have short tag support enabled CI
| can rewrite the tags on-the-fly, enabling you to utilize that syntax
| in your view files. Options are TRUE or FALSE (boolean)
|
| Note: You need to have eval() enabled for this to work.
|
*/
$config
[
'rewrite_short_tags'
]
=
FALSE
;
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Reverse Proxy IPs
| Reverse Proxy IPs
...
...
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