aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/session.php
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2008-01-06 02:21:44 +0000
committerDavid M <davidmj@users.sourceforge.net>2008-01-06 02:21:44 +0000
commit57645ad5bc2469e166cb3e5d54628d87ffa74c42 (patch)
tree2b7e47b0a2d4d07b8b1c3acbab5115d7b60ce606 /phpBB/includes/session.php
parentf0dea060972a48460ce64d3cdf885d82383763c6 (diff)
downloadforums-57645ad5bc2469e166cb3e5d54628d87ffa74c42.tar
forums-57645ad5bc2469e166cb3e5d54628d87ffa74c42.tar.gz
forums-57645ad5bc2469e166cb3e5d54628d87ffa74c42.tar.bz2
forums-57645ad5bc2469e166cb3e5d54628d87ffa74c42.tar.xz
forums-57645ad5bc2469e166cb3e5d54628d87ffa74c42.zip
the end of an era...
- MySQL < 4.1.3 support is removed - renamed mysql4 to mysql, no need to cause confusion - changed the cfg cacher, reduces file system lookups and include count by two on every page load git-svn-id: file:///svn/phpbb/trunk@8307 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/session.php')
-rw-r--r--phpBB/includes/session.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php
index 573cbdd2c6..1f62abc93d 100644
--- a/phpBB/includes/session.php
+++ b/phpBB/includes/session.php
@@ -1402,11 +1402,9 @@ class user extends session
trigger_error('Could not get style data', E_USER_ERROR);
}
- // Now parse the cfg file and cache it
- $parsed_items = cache::obtain_cfg_items($this->theme);
-
- // We are only interested in the theme configuration for now
- $parsed_items = $parsed_items['theme'];
+ // Now parse the cfg file and cache it,
+ // we are only interested in the theme configuration for now
+ $parsed_items = cache::obtain_cfg_item($this->theme, 'theme');
$check_for = array(
'parse_css_file' => (int) 0,