diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2005-10-04 21:39:47 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2005-10-04 21:39:47 +0000 |
commit | 1981196e99a84e1ad1f8e817f74bda730ba6fe88 (patch) | |
tree | 2eb5fe6c8239e8793813e1ab7157eab26c7cd90c /phpBB/style.php | |
parent | 5449c591a9721a63098f794a24e0bcef690ebb51 (diff) | |
download | forums-1981196e99a84e1ad1f8e817f74bda730ba6fe88.tar forums-1981196e99a84e1ad1f8e817f74bda730ba6fe88.tar.gz forums-1981196e99a84e1ad1f8e817f74bda730ba6fe88.tar.bz2 forums-1981196e99a84e1ad1f8e817f74bda730ba6fe88.tar.xz forums-1981196e99a84e1ad1f8e817f74bda730ba6fe88.zip |
- some bugfixes
git-svn-id: file:///svn/phpbb/trunk@5255 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/style.php')
-rw-r--r-- | phpBB/style.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/style.php b/phpBB/style.php index 96f2f36e6f..a402792e14 100644 --- a/phpBB/style.php +++ b/phpBB/style.php @@ -37,10 +37,11 @@ if (!empty($_GET['id']) && !empty($_GET['sid'])) { // Include files require($phpbb_root_path . 'includes/acm/acm_' . $acm_type . '.'.$phpEx); + require($phpbb_root_path . 'includes/acm/acm_main.' . $phpEx); require($phpbb_root_path . 'includes/db/' . $dbms . '.'.$phpEx); $db = new $sql_db(); - $cache = new acm(); + $cache = new cache(); // Connect to DB if (!@$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false)) @@ -65,7 +66,7 @@ if (!empty($_GET['id']) && !empty($_GET['sid'])) AND t.template_id = s.template_id AND c.theme_id = s.theme_id AND i.imageset_id = s.imageset_id"; - $result2 = $db->sql_query($sql, 300); + $result2 = $db->sql_query($sql); if (!($theme = $db->sql_fetchrow($result2))) { |