summaryrefslogtreecommitdiffstats
path: root/system/application/config
diff options
context:
space:
mode:
Diffstat (limited to 'system/application/config')
-rw-r--r--system/application/config/constants.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/system/application/config/constants.php b/system/application/config/constants.php
new file mode 100644
index 000000000..ace3f8b9d
--- /dev/null
+++ b/system/application/config/constants.php
@@ -0,0 +1,21 @@
+<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
+
+/*
+|--------------------------------------------------------------------------
+| File and Directory Modes
+|--------------------------------------------------------------------------
+|
+| These prefs are used when checking and setting modes when working
+| with the file system. The defaults are fine on servers with proper
+| security, but you may wish (or even need) to change the values in
+| certain environments (Apache running a separate process for each
+| user, PHP under CGI with Apache suEXEC, etc.). Octal values should
+| always be used to set the mode correctly.
+|
+*/
+define('FILE_READ_MODE', 0644);
+define('FILE_WRITE_MODE', 0666);
+define('DIR_READ_MODE', 0755);
+define('DIR_WRITE_MODE', 0777);
+
+?> \ No newline at end of file