diff options
Diffstat (limited to 'core/hooks/init_gallery.php')
-rw-r--r-- | core/hooks/init_gallery.php | 3 |
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")); |