diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-02-14 18:22:16 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-02-14 18:22:16 +0000 |
commit | 9aee838d110807dcd054eef278e34471ac06dfd1 (patch) | |
tree | bff64ffcc21c1c2c56cbf207e95e7cb28d1ab1b6 /install.php | |
parent | e0c5ffc792657f5fb3ff1f0774cfcd18befb8175 (diff) | |
download | elgg-9aee838d110807dcd054eef278e34471ac06dfd1.tar.gz elgg-9aee838d110807dcd054eef278e34471ac06dfd1.tar.bz2 |
Some further installation tweaks
git-svn-id: https://code.elgg.org/elgg/trunk@35 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'install.php')
-rw-r--r-- | install.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/install.php b/install.php index 5e253eb1b..3be2b3c78 100644 --- a/install.php +++ b/install.php @@ -20,19 +20,20 @@ /**
* If we're installed, go back to the homepage
*/
- forward();
+ if (is_installed())
+ forward();
/**
* Install the database
*/
- $tables = get_db_tables();
- if (!$tables) {
+ if (!is_db_installed()) {
run_sql_script(dirname(__FILE__) . "/engine/schema/mysql.sql");
+ system_message("The Elgg database was installed.");
}
/**
* Load the front page
*/
- echo page_draw(null, elgg_view("homepage"));
+ echo page_draw("Installation", elgg_view("settings/system"));
?>
\ No newline at end of file |