summaryrefslogtreecommitdiffstats
path: root/templates/show_install.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_install.inc.php')
-rw-r--r--templates/show_install.inc.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/show_install.inc.php b/templates/show_install.inc.php
index 7350f431..dcbae665 100644
--- a/templates/show_install.inc.php
+++ b/templates/show_install.inc.php
@@ -20,7 +20,6 @@
*
*/
-$prefix = realpath(dirname(__FILE__). "/../");
require $prefix . '/templates/install_header.inc.php';
?>
<div class="content">
@@ -34,7 +33,7 @@ require $prefix . '/templates/install_header.inc.php';
<?php Error::display('general'); ?>
<br />
<span class="header2"><?php echo T_('Insert Ampache Database'); ?></span>
- <form method="post" action="<?php echo WEB_PATH . "?action=create_db&amp;htmllang=$htmllang&amp;charset=$charset"; ?>" enctype="multipart/form-data" >
+ <form method="post" action="<?php echo $web_path . "/install.php?action=create_db&amp;htmllang=$htmllang&amp;charset=$charset"; ?>" enctype="multipart/form-data" >
<table>
<tr>
<td class="align"><?php echo T_("Desired Database Name"); ?></td>