aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/style.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/style.php')
-rw-r--r--phpBB/style.php5
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)))
{