aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorPaolo T <tuscanhobbit@users.noreply.github.com>2015-03-22 16:34:40 +0100
committerPaolo T <tuscanhobbit@users.noreply.github.com>2015-03-22 16:34:40 +0100
commit82fb1ca0caaae72b77b641d22e51d5ae1b188183 (patch)
treea2ecee4e65bc80300c62b5b327965b8118117ad3 /index.php
parentff5c3b009fa25e87e294cd458d3de4b677270c64 (diff)
parente345d6793d5f6910dd230f661ca5d1a837b1b504 (diff)
downloadvolse-hubzilla-82fb1ca0caaae72b77b641d22e51d5ae1b188183.tar.gz
volse-hubzilla-82fb1ca0caaae72b77b641d22e51d5ae1b188183.tar.bz2
volse-hubzilla-82fb1ca0caaae72b77b641d22e51d5ae1b188183.zip
Merge pull request #8 from friendica/master
merging red master into nuvola.red
Diffstat (limited to 'index.php')
-rwxr-xr-xindex.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/index.php b/index.php
index 4e39ee1ac..716c24fe6 100755
--- a/index.php
+++ b/index.php
@@ -240,6 +240,9 @@ if(strlen($a->module)) {
$a->page['content'] = replace_macros($tpl, array(
'$message' => t('Page not found.' )
));
+ // pretend this is a module so it will initialise the theme.
+ $a->module = '404';
+ $a->module_loaded = true;
}
}
@@ -393,6 +396,9 @@ if(stristr( implode("",$_SESSION['sysmsg']), t('Permission denied'))) {
call_hooks('page_end', $a->page['content']);
+if(! $a->install)
+ check_cron_broken();
+
construct_page($a);
session_write_close();