We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34f0c52 commit 8e19861Copy full SHA for 8e19861
index.php
@@ -40,6 +40,7 @@
40
41
/* get configuration */
42
$config = new Hm_Site_Config_File();
43
+
44
/* set default TZ */
45
date_default_timezone_set($config->get('default_setting_timezone', 'UTC'));
46
/* set the default since and per_source values */
@@ -53,6 +54,10 @@
53
54
/* process the request */
55
new Hm_Dispatch($config);
56
57
+if (is_null($config)) {
58
+ $config = new Hm_Site_Config_File();
59
+}
60
61
/* log some debug stats about the page */
62
if (DEBUG_MODE or $config->get('debug_log')) {
63
Hm_Debug::load_page_stats();
0 commit comments