aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-08-24 11:35:17 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-08-24 11:35:17 +0000
commitdc49e0fdffe41cbf44363eb6af23503558a94d86 (patch)
treed057e1356b96b3fd49450b8c03cbc3262176e691 /phpBB/install
parent44148941cc18e694e8395f87b03b7fc7b4727adb (diff)
downloadforums-dc49e0fdffe41cbf44363eb6af23503558a94d86.tar
forums-dc49e0fdffe41cbf44363eb6af23503558a94d86.tar.gz
forums-dc49e0fdffe41cbf44363eb6af23503558a94d86.tar.bz2
forums-dc49e0fdffe41cbf44363eb6af23503558a94d86.tar.xz
forums-dc49e0fdffe41cbf44363eb6af23503558a94d86.zip
fix installation by defining our needed CHMOD_READ and CHMOD_WRITE constants.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8787 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install')
-rw-r--r--phpBB/install/index.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/install/index.php b/phpBB/install/index.php
index 3702558cbc..dc40d7bea0 100644
--- a/phpBB/install/index.php
+++ b/phpBB/install/index.php
@@ -230,6 +230,12 @@ include($phpbb_root_path . 'language/' . $language . '/acp/board.' . $phpEx);
include($phpbb_root_path . 'language/' . $language . '/install.' . $phpEx);
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_READ', 4);
+define('CHMOD_WRITE', 2);
+
$mode = request_var('mode', 'overview');
$sub = request_var('sub', '');