Revision 208
Added by stefan about 19 years ago
initialize.php | ||
---|---|---|
47 | 47 |
define($setting_name,$setting_value); |
48 | 48 |
} |
49 | 49 |
$string_file_mode = STRING_FILE_MODE; |
50 |
define('OCTAL_FILE_MODE',(int) $string_file_mode);
|
|
50 |
define('OCTAL_FILE_MODE',(int) octdec($string_file_mode));
|
|
51 | 51 |
$string_dir_mode = STRING_DIR_MODE; |
52 |
define('OCTAL_DIR_MODE',(int) $string_dir_mode);
|
|
52 |
define('OCTAL_DIR_MODE',(int) octdec($string_dir_mode));
|
|
53 | 53 |
|
54 | 54 |
// Start a session |
55 | 55 |
if(!defined('SESSION_STARTED')) { |
Also available in: Unified diff
Added octal to decimal conversion in initialize.php to create a proper integer value out of string file/dir mode constants.