diff options
author | Simon <simon@kisikew.org> | 2012-05-29 13:13:10 -0700 |
---|---|---|
committer | Simon <simon@kisikew.org> | 2012-05-29 13:13:10 -0700 |
commit | 43c185ce04051caa0ae7543d635fa0b015befc58 (patch) | |
tree | 492e88d698971dd94d512172df7b71ed04e3048d /view/theme | |
parent | 39927e3dc5d0fc942ef9428b5c5c0d9b8cbb2f56 (diff) | |
parent | c707cba4c8cd8855124b1991cfe8fd2c0c34c8ba (diff) | |
download | volse-hubzilla-43c185ce04051caa0ae7543d635fa0b015befc58.tar.gz volse-hubzilla-43c185ce04051caa0ae7543d635fa0b015befc58.tar.bz2 volse-hubzilla-43c185ce04051caa0ae7543d635fa0b015befc58.zip |
Merge pull request #316 from annando/master
Speed improvements
Diffstat (limited to 'view/theme')
-rwxr-xr-x | view/theme/diabook/theme.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php index de7e41841..83079782e 100755 --- a/view/theme/diabook/theme.php +++ b/view/theme/diabook/theme.php @@ -18,6 +18,11 @@ $a->page['htmlhead'] .= sprintf('<META NAME=generator CONTENT="%s"/>', $diabook_ //init css on network and profilepages $cssFile = null; + +// Preload config +load_config("diabook"); +load_pconfig(local_user(), "diabook"); + //get statuses of boxes at right-hand-column $close_pages = false; $site_close_pages = get_config("diabook", "close_pages" ); |