diff options
author | habeascodice <habeascodice@federated.social> | 2014-10-29 03:39:07 -0700 |
---|---|---|
committer | habeascodice <habeascodice@federated.social> | 2014-10-29 03:39:07 -0700 |
commit | bc02b933727da7a000d43d2d7d495f066616dc81 (patch) | |
tree | e590b70757edb94655872f5b992f143cead61eb3 /boot.php | |
parent | fc12123329133cea39f27615a7c24c57e5b4a35d (diff) | |
parent | 7d9f785758ee6e4c19838e532f9930e227e95fc6 (diff) | |
download | volse-hubzilla-bc02b933727da7a000d43d2d7d495f066616dc81.tar.gz volse-hubzilla-bc02b933727da7a000d43d2d7d495f066616dc81.tar.bz2 volse-hubzilla-bc02b933727da7a000d43d2d7d495f066616dc81.zip |
Merge remote branch 'upstream/master'
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 17 |
1 files changed, 11 insertions, 6 deletions
@@ -555,6 +555,7 @@ define ( 'ITEM_VERIFIED', 0x2000); // Signature verification was success define ( 'ITEM_RETAINED', 0x4000); // We looked at this item once to decide whether or not to expire it, and decided not to. define ( 'ITEM_RSS', 0x8000); // Item comes from a feed. Use this to decide whether to link the title // Don't make us evaluate this same item again. + /** * * Reverse the effect of magic_quotes_gpc if it is enabled. @@ -1879,13 +1880,9 @@ function get_custom_nav(&$a,$navname) { } -function construct_page(&$a) { - +function load_pdl(&$a) { require_once('include/comanche.php'); - // in case a page has overloaded a module, see if we already have a layout defined - // otherwise, if a pdl file exists for this module, use it - if(! count($a->layout)) { $n = 'mod_' . $a->module . '.pdl' ; $u = comanche_get_channel_id(); @@ -1897,12 +1894,20 @@ function construct_page(&$a) { comanche_parser($a,$s); } - $comanche = ((count($a->layout)) ? true : false); +} + + + +function construct_page(&$a) { + /** * Build the page - now that we have all the components */ + + $comanche = ((count($a->layout)) ? true : false); + require_once(theme_include('theme_init.php')); $installing = false; |