From dc49e0fdffe41cbf44363eb6af23503558a94d86 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sun, 24 Aug 2008 11:35:17 +0000 Subject: 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 --- phpBB/install/index.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'phpBB/install/index.php') 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', ''); -- cgit v1.2.1