diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-08-30 19:49:39 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-08-30 19:49:39 +0000 |
commit | 3267cf14b9fa2ffdf1918fe68dd067ee932a5867 (patch) | |
tree | 4f9ff7f027b61d52f5620943ccd66a22ee1a796d /templates/show_install.inc.php | |
parent | 96d7639ca1e320019e870c109e42f0618c16cf6b (diff) | |
download | ampache-3267cf14b9fa2ffdf1918fe68dd067ee932a5867.tar.gz ampache-3267cf14b9fa2ffdf1918fe68dd067ee932a5867.tar.bz2 ampache-3267cf14b9fa2ffdf1918fe68dd067ee932a5867.zip |
sync from branch
Diffstat (limited to 'templates/show_install.inc.php')
-rw-r--r-- | templates/show_install.inc.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/templates/show_install.inc.php b/templates/show_install.inc.php index 5c0ebb90..b42b6769 100644 --- a/templates/show_install.inc.php +++ b/templates/show_install.inc.php @@ -1,7 +1,7 @@ <?php /* - Copyright (c) 2001 - 2007 Ampache.org + Copyright (c) Ampache.org All rights reserved. This program is free software; you can redistribute it and/or @@ -60,7 +60,7 @@ if (INSTALL != '1') { exit; } <?php Error::display('general'); ?> <br /> <span class="header2"><?php echo _('Insert Ampache Database'); ?></span> - <form method="post" action="<?php echo $http_type . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'] . "?action=create_db&htmllang=$htmllang&charset=$charset"; ?>" enctype="multipart/form-data" > + <form method="post" action="<?php echo WEB_PATH . "?action=create_db&htmllang=$htmllang&charset=$charset"; ?>" enctype="multipart/form-data" > <table> <tr> <td class="align"><?php echo _("Desired Database Name"); ?></td> @@ -95,6 +95,10 @@ if (INSTALL != '1') { exit; } <td><input type="checkbox" name="overwrite_db" value="1" /></td> </tr> <tr> + <td class="align"><?php echo _('Use Existing Database'); ?></td> + <td><input type="checkbox" name="existing_db" value="1" /></td> +</tr> +<tr> <td> </td> <td><input type="submit" value="<?php echo _("Insert Database"); ?>" /></td> </tr> |