summaryrefslogtreecommitdiff
path: root/framework/PradoBase.php
diff options
context:
space:
mode:
authorxue <>2007-01-17 22:26:53 +0000
committerxue <>2007-01-17 22:26:53 +0000
commitcd236d693d1df3e20c370c97a98c51ba3fcbd610 (patch)
tree4b84a25cc06db000420b75f2ce1f390246869662 /framework/PradoBase.php
parent74acb5d2a4426cb4ae7f0fdd86e23c1459813a60 (diff)
Added PRADO_CHMOD constant so that users can specify the permission of PRADO-created directories
Diffstat (limited to 'framework/PradoBase.php')
-rw-r--r--framework/PradoBase.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/framework/PradoBase.php b/framework/PradoBase.php
index dc270350..17a75fef 100644
--- a/framework/PradoBase.php
+++ b/framework/PradoBase.php
@@ -18,6 +18,11 @@
*/
if(!defined('PRADO_DIR'))
define('PRADO_DIR',dirname(__FILE__));
+/**
+ * Defines the default permission for writable directories and files
+ */
+if(!defined('PRADO_CHMOD'))
+ define('PRADO_CHMOD',0777);
/**
* Includes the classes essential for PradoBase class
@@ -68,7 +73,7 @@ class PradoBase
*/
public static function getVersion()
{
- return '3.1.0a';
+ return '3.1.0b';
}
/**