mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Ch-ch-ch-changes
- Made us more DB independent by making many queries capability based instead of DB specific - Finished PHP5ifying of the acm_file class, now with some (hopefully) enhancements to its performance - Sped up viewforum considerably (also goes towards mcp_forum) I really hope I didn't explode CVS... git-svn-id: file:///svn/phpbb/trunk@8301 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -140,7 +140,7 @@ if ($id)
|
||||
}
|
||||
|
||||
// Expire time of seven days if not recached
|
||||
$expire_time = 7*86400;
|
||||
$expire_time = 7 * 86400;
|
||||
$recache = false;
|
||||
|
||||
// Re-cache stylesheet data if necessary
|
||||
@@ -177,7 +177,10 @@ if ($id)
|
||||
|
||||
if ($recache)
|
||||
{
|
||||
include_once($phpbb_root_path . 'includes/acp/acp_styles.' . $phpEx);
|
||||
if (!class_exists('acp_styles'))
|
||||
{
|
||||
include($phpbb_root_path . 'includes/acp/acp_styles.' . $phpEx);
|
||||
}
|
||||
|
||||
$theme['theme_data'] = acp_styles::db_theme_data($theme);
|
||||
$theme['theme_mtime'] = $update_time;
|
||||
|
Reference in New Issue
Block a user