From f6973431b7f8df24c081a03c7c989f621ab2a708 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Wed, 15 Jul 2009 21:48:47 +0800 Subject: Fix for ticket #544. * Separate the portion of get_db_info.html.php that displays the status of the var directory into a separate view var_dir_status.html.php * Change the processing to always generate the database information request screen unless there is an environment error, the var directory is not writable and the install was successful Signed-off-by: Tim Almdal --- installer/views/get_db_info.html.php | 43 ++++----------------------------- installer/views/install.html.php | 3 ++- installer/views/var_dir_status.html.php | 30 +++++++++++++++++++++++ installer/web.php | 21 ++++++++++------ 4 files changed, 50 insertions(+), 47 deletions(-) create mode 100644 installer/views/var_dir_status.html.php diff --git a/installer/views/get_db_info.html.php b/installer/views/get_db_info.html.php index 94c19585..adc775a4 100644 --- a/installer/views/get_db_info.html.php +++ b/installer/views/get_db_info.html.php @@ -1,32 +1,4 @@ -

Welcome!

-

- Installing Gallery is very easy. We just need to know how to talk - to your MySQL database, and we need a place to store your photos on - your web host. -

- - -
- Photo Storage - -

- We're having trouble creating a place for your photos. Can you - help? Please create a directory called "var" using mkdir var in your - gallery3 directory, then run chmod 777 var. That - should fix it. -

- Check again -

- -

- We've found a place to store your photos: - -

- -
- -
Database @@ -41,7 +13,7 @@ Database Name - + @@ -49,7 +21,7 @@ User - + @@ -57,7 +29,7 @@ Password - + @@ -65,7 +37,7 @@ Host - + @@ -73,19 +45,14 @@ Table Prefix - + - - - (Please fix the photo storage problem before continuing) -
- diff --git a/installer/views/install.html.php b/installer/views/install.html.php index a0eddaf3..31112c28 100644 --- a/installer/views/install.html.php +++ b/installer/views/install.html.php @@ -8,7 +8,8 @@
- + +