aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/install')
-rw-r--r--phpBB/install/index.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/install/index.php b/phpBB/install/index.php
index e3bfcba499..613afa728c 100644
--- a/phpBB/install/index.php
+++ b/phpBB/install/index.php
@@ -230,6 +230,14 @@ include(PHPBB_ROOT_PATH . 'language/' . $language . '/acp/board.' . PHP_EXT);
include(PHPBB_ROOT_PATH . 'language/' . $language . '/install.' . PHP_EXT);
include(PHPBB_ROOT_PATH . 'language/' . $language . '/posting.' . PHP_EXT);
+// 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', '');