diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-07-15 21:06:42 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-07-15 21:06:42 -0700 |
commit | 39fa93eec7f81a32b63c4ecff2b64ae34ad365d3 (patch) | |
tree | 35344d96bc2bb7b9b8c95da91d8e558c33c7d023 /installer | |
parent | 9b69dc823741856197f397d144affe16d9e32d9a (diff) |
Simpler solution for #545. Just don't show the form if the storage dir isn't set up yet
Diffstat (limited to 'installer')
-rw-r--r-- | installer/views/get_db_info.html.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/installer/views/get_db_info.html.php b/installer/views/get_db_info.html.php index 7835f246..ada0793c 100644 --- a/installer/views/get_db_info.html.php +++ b/installer/views/get_db_info.html.php @@ -26,6 +26,7 @@ <?php endif ?> </fieldset> +<?php if (installer::var_writable()): ?> <form method="post" action="index.php?step=save_db_info"> <fieldset> <legend>Database</legend> @@ -77,13 +78,10 @@ </tr> <tr> <td colspan="2"> - <?php if (installer::var_writable()): ?> <input type="submit" value="Continue"/> - <?php else: ?> - <i class="error">(Please fix the photo storage problem before continuing)</i> - <?php endif ?> </td> </tr> </table> </fieldset> </form> +<?php endif ?> |