diff options
author | Andrey Andreev <narf@devilix.net> | 2014-08-27 19:40:11 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-08-27 19:40:11 +0200 |
commit | 459657415189f4fe3f8d4eb05b209ab78409f9b0 (patch) | |
tree | dbf460e9df735ebb39757f6a7afab4f43c73da01 /application | |
parent | 487ccc9c8a21cb6338aab7173b3adda194d29c26 (diff) |
Fix #2963
Changed all file permissions settings throught the framework
and the documentation.
Also added configuration settings for CI_Log and CI_Image_lib
Diffstat (limited to 'application')
-rw-r--r-- | application/config/config.php | 12 | ||||
-rw-r--r-- | application/config/constants.php | 2 |
2 files changed, 13 insertions, 1 deletions
diff --git a/application/config/config.php b/application/config/config.php index b6b3c9fdf..e8d30b625 100644 --- a/application/config/config.php +++ b/application/config/config.php @@ -264,6 +264,18 @@ $config['log_file_extension'] = ''; /* |-------------------------------------------------------------------------- +| Log File Permissions +|-------------------------------------------------------------------------- +| +| The file system permissions to be applied on newly created log files. +| +| IMPORTANT: This MUST be an integer (no quotes) and you MUST use octal +| integer notation (i.e. 0700, 0644, etc.) +*/ +$config['log_file_permissions'] = 0644; + +/* +|-------------------------------------------------------------------------- | Date Format for Logs |-------------------------------------------------------------------------- | diff --git a/application/config/constants.php b/application/config/constants.php index 239fd46fb..c19f044ab 100644 --- a/application/config/constants.php +++ b/application/config/constants.php @@ -42,7 +42,7 @@ defined('BASEPATH') OR exit('No direct script access allowed'); define('FILE_READ_MODE', 0644); define('FILE_WRITE_MODE', 0666); define('DIR_READ_MODE', 0755); -define('DIR_WRITE_MODE', 0777); +define('DIR_WRITE_MODE', 0755); /* |-------------------------------------------------------------------------- |