aboutsummaryrefslogtreecommitdiff
path: root/engine/start.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-02-15 15:20:46 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-02-15 15:20:46 +0000
commita210406591f6a97d9f3d90df0dd375fcca3571f4 (patch)
tree5e69ba449395f96120e80e2cafc69a7f8a21ec47 /engine/start.php
parenta06ecffa834ac26fd4e3d353c8216c9ee3525fca (diff)
downloadelgg-a210406591f6a97d9f3d90df0dd375fcca3571f4.tar.gz
elgg-a210406591f6a97d9f3d90df0dd375fcca3571f4.tar.bz2
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
Diffstat (limited to 'engine/start.php')
-rw-r--r--engine/start.php5
1 files changed, 5 insertions, 0 deletions
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