mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
fix bug #32925
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8788 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
dc49e0fdff
commit
63a970d370
2 changed files with 4 additions and 2 deletions
|
@ -177,10 +177,10 @@ define('REFERER_VALIDATE_HOST', 1);
|
||||||
define('REFERER_VALIDATE_PATH', 2);
|
define('REFERER_VALIDATE_PATH', 2);
|
||||||
|
|
||||||
// phpbb_chmod() permissions
|
// phpbb_chmod() permissions
|
||||||
define('CHMOD_ALL', 7);
|
@define('CHMOD_ALL', 7);
|
||||||
@define('CHMOD_READ', 4);
|
@define('CHMOD_READ', 4);
|
||||||
@define('CHMOD_WRITE', 2);
|
@define('CHMOD_WRITE', 2);
|
||||||
define('CHMOD_EXECUTE', 1);
|
@define('CHMOD_EXECUTE', 1);
|
||||||
|
|
||||||
// Additional constants
|
// Additional constants
|
||||||
define('VOTE_CONVERTED', 127);
|
define('VOTE_CONVERTED', 127);
|
||||||
|
|
|
@ -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... :(
|
// 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 needed constants
|
||||||
|
define('CHMOD_ALL', 7);
|
||||||
define('CHMOD_READ', 4);
|
define('CHMOD_READ', 4);
|
||||||
define('CHMOD_WRITE', 2);
|
define('CHMOD_WRITE', 2);
|
||||||
|
define('CHMOD_EXECUTE', 1);
|
||||||
|
|
||||||
$mode = request_var('mode', 'overview');
|
$mode = request_var('mode', 'overview');
|
||||||
$sub = request_var('sub', '');
|
$sub = request_var('sub', '');
|
||||||
|
|
Loading…
Add table
Reference in a new issue