From a210406591f6a97d9f3d90df0dd375fcca3571f4 Mon Sep 17 00:00:00 2001 From: ben Date: Fri, 15 Feb 2008 15:20:46 +0000 Subject: Added the concept of a site_id to msot of the database tables. Also some extra installation stuff. git-svn-id: https://code.elgg.org/elgg/trunk@43 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/start.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'engine/start.php') diff --git a/engine/start.php b/engine/start.php index a0ca5d718..fd61dbd6a 100644 --- a/engine/start.php +++ b/engine/start.php @@ -96,5 +96,10 @@ // Trigger events trigger_event('init', 'system'); + + // Forward if we haven't been installed + if ((!is_installed() || !is_db_installed()) && !substr_count($_SERVER["PHP_SELF"],"install.php")) { + forward("install.php"); + } ?> \ No newline at end of file -- cgit v1.2.3