aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-08-25 17:15:37 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-08-25 17:15:37 +0000
commit63a970d3708e97381534016818821b997f2009fc (patch)
tree24522202f182459322db0b9bbbeebb76e8929d7b
parentdc49e0fdffe41cbf44363eb6af23503558a94d86 (diff)
downloadforums-63a970d3708e97381534016818821b997f2009fc.tar
forums-63a970d3708e97381534016818821b997f2009fc.tar.gz
forums-63a970d3708e97381534016818821b997f2009fc.tar.bz2
forums-63a970d3708e97381534016818821b997f2009fc.tar.xz
forums-63a970d3708e97381534016818821b997f2009fc.zip
fix bug #32925
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8788 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/includes/constants.php4
-rw-r--r--phpBB/install/index.php2
2 files changed, 4 insertions, 2 deletions
diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php
index 826afb3832..91fc9224c4 100644
--- a/phpBB/includes/constants.php
+++ b/phpBB/includes/constants.php
@@ -177,10 +177,10 @@ define('REFERER_VALIDATE_HOST', 1);
define('REFERER_VALIDATE_PATH', 2);
// phpbb_chmod() permissions
-define('CHMOD_ALL', 7);
+@define('CHMOD_ALL', 7);
@define('CHMOD_READ', 4);
@define('CHMOD_WRITE', 2);
-define('CHMOD_EXECUTE', 1);
+@define('CHMOD_EXECUTE', 1);
// Additional constants
define('VOTE_CONVERTED', 127);
diff --git a/phpBB/install/index.php b/phpBB/install/index.php
index dc40d7bea0..3d11da67a6 100644
--- a/phpBB/install/index.php
+++ b/phpBB/install/index.php
@@ -233,8 +233,10 @@ include($phpbb_root_path . 'language/' . $language . '/posting.' . $phpEx);
// usually we would need every single constant here - and it would be consistent. For 3.0.x, use a dirty hack... :(
// Define needed constants
+define('CHMOD_ALL', 7);
define('CHMOD_READ', 4);
define('CHMOD_WRITE', 2);
+define('CHMOD_EXECUTE', 1);
$mode = request_var('mode', 'overview');
$sub = request_var('sub', '');