diff options
author | Thomas Willingham <founder@kakste.com> | 2013-05-31 03:46:52 +0100 |
---|---|---|
committer | Thomas Willingham <founder@kakste.com> | 2013-05-31 03:46:52 +0100 |
commit | 595c2a5e9d1288b1d5a1ee8c98368dc39b25f7de (patch) | |
tree | ebc67672ce70da622e5e52ffe257d7f34196c726 /mod | |
parent | bfb6f20ef285cb580a102d7ee0e98c18c2efd5bd (diff) | |
download | volse-hubzilla-595c2a5e9d1288b1d5a1ee8c98368dc39b25f7de.tar.gz volse-hubzilla-595c2a5e9d1288b1d5a1ee8c98368dc39b25f7de.tar.bz2 volse-hubzilla-595c2a5e9d1288b1d5a1ee8c98368dc39b25f7de.zip |
Lets not require files if we don't need them.
Diffstat (limited to 'mod')
-rw-r--r-- | mod/home.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/home.php b/mod/home.php index c074f9db5..86d489853 100644 --- a/mod/home.php +++ b/mod/home.php @@ -33,12 +33,13 @@ function home_content(&$a) { if(x($_SESSION,'mobile-theme')) unset($_SESSION['mobile-theme']); +$channel_address = get_config("system", "site-channel" ); + if ($channel_address){ require_once('include/items.php'); require_once('include/conversation.php'); - $channel_address = get_config("system", "site-channel" ); - if ($channel_address){ + //We can do better, but until we figure out auto-linkification, let's keep things simple $page_id = 'home'; |