diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2013-05-13 18:13:32 -0400 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2013-05-13 21:11:18 -0400 |
commit | 716c50f2e9b4f1a3f7c1cbacb7010b040f8515dc (patch) | |
tree | f5ac88c0086b1d6acc75dc485c36227bb94ca733 /templates/show_install.inc.php | |
parent | 3ade42684d38d0b2b645962a4593d3ed5f1eeec6 (diff) | |
download | ampache-716c50f2e9b4f1a3f7c1cbacb7010b040f8515dc.tar.gz ampache-716c50f2e9b4f1a3f7c1cbacb7010b040f8515dc.tar.bz2 ampache-716c50f2e9b4f1a3f7c1cbacb7010b040f8515dc.zip |
Clean up the install code a bit
Remove lang/charset copypasta, unnecessary setting of $prefix,
unnecessary constants.
Diffstat (limited to 'templates/show_install.inc.php')
-rw-r--r-- | templates/show_install.inc.php | 3 |
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&htmllang=$htmllang&charset=$charset"; ?>" enctype="multipart/form-data" > + <form method="post" action="<?php echo $web_path . "/install.php?action=create_db&htmllang=$htmllang&charset=$charset"; ?>" enctype="multipart/form-data" > <table> <tr> <td class="align"><?php echo T_("Desired Database Name"); ?></td> |