aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-11-27 23:31:09 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-11-27 23:31:09 +0000
commitbb718d8406581f0dd9435274630ad887b68eb91b (patch)
tree81b4c8e32fa13735bead3f6597e427a2b4d45520
parent3041ca4ed70f7ad9f28a2eb597bac8e13a92166f (diff)
downloadforums-bb718d8406581f0dd9435274630ad887b68eb91b.tar
forums-bb718d8406581f0dd9435274630ad887b68eb91b.tar.gz
forums-bb718d8406581f0dd9435274630ad887b68eb91b.tar.bz2
forums-bb718d8406581f0dd9435274630ad887b68eb91b.tar.xz
forums-bb718d8406581f0dd9435274630ad887b68eb91b.zip
- the same procedure as every... oh. this is taken.
- also including the first bugfix within beta4, just noticed at area51 that quicktools are not working in global announcements. :D git-svn-id: file:///svn/phpbb/trunk@6681 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/includes/auth.php10
-rw-r--r--phpBB/install/schemas/schema_data.sql2
2 files changed, 11 insertions, 1 deletions
diff --git a/phpBB/includes/auth.php b/phpBB/includes/auth.php
index c174fc6769..70a3ccb046 100644
--- a/phpBB/includes/auth.php
+++ b/phpBB/includes/auth.php
@@ -223,6 +223,16 @@ class auth
{
$allowed = false;
+ if (is_array($opt))
+ {
+ foreach ($opt as $check_option)
+ {
+ $allowed |= $this->acl_getf_global($check_option);
+ }
+
+ return $allowed;
+ }
+
if (isset($this->acl_options['local'][$opt]))
{
foreach ($this->acl as $f => $bitstring)
diff --git a/phpBB/install/schemas/schema_data.sql b/phpBB/install/schemas/schema_data.sql
index c3a438e0de..0cea5a5f72 100644
--- a/phpBB/install/schemas/schema_data.sql
+++ b/phpBB/install/schemas/schema_data.sql
@@ -199,7 +199,7 @@ INSERT INTO phpbb_config (config_name, config_value) VALUES ('topics_per_page',
INSERT INTO phpbb_config (config_name, config_value) VALUES ('tpl_allow_php', '0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('upload_icons_path', 'images/upload_icons');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('upload_path', 'files');
-INSERT INTO phpbb_config (config_name, config_value) VALUES ('version', '3.0.B4');
+INSERT INTO phpbb_config (config_name, config_value) VALUES ('version', '3.0.B5-dev');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('warnings_expire_days', '90');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('warnings_gc', '14400');