From 8fe1880e3016fe7a06a0c70b80604b93b9b3f01b Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Wed, 11 Mar 2009 20:55:29 +0000 Subject: Bag the header("Location:", ...);exit() and replace with url:site(url::abs_file(...)) --- core/hooks/init_gallery.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'core/hooks') 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")); -- cgit v1.2.3