summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-03-11 20:55:29 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-03-11 20:55:29 +0000
commit8fe1880e3016fe7a06a0c70b80604b93b9b3f01b (patch)
treead512e9404e35bb9d20a237fb37988842f8a827c /core
parent1f848385fafef5105966fb3e430f44f111ac5e38 (diff)
Bag the header("Location:", ...);exit() and replace with
url:site(url::abs_file(...))
Diffstat (limited to 'core')
-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"));