summaryrefslogtreecommitdiff
path: root/core/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'core/hooks')
-rw-r--r--core/hooks/init_gallery.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/hooks/init_gallery.php b/core/hooks/init_gallery.php
index 4341b9c3..536d8c64 100644
--- a/core/hooks/init_gallery.php
+++ b/core/hooks/init_gallery.php
@@ -19,8 +19,7 @@
*/
if (!file_exists(VARPATH . "database.php")) {
- header("Location: installer");
- exit();
+ url::redirect(url::abs_file("installer"));
}
Event::add("system.ready", array("I18n", "instance"));