summaryrefslogtreecommitdiffstats
path: root/templates/show_install_account.inc.php
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2013-05-13 18:13:32 -0400
committerPaul Arthur <paul.arthur@flowerysong.com>2013-05-13 21:11:18 -0400
commit716c50f2e9b4f1a3f7c1cbacb7010b040f8515dc (patch)
treef5ac88c0086b1d6acc75dc485c36227bb94ca733 /templates/show_install_account.inc.php
parent3ade42684d38d0b2b645962a4593d3ed5f1eeec6 (diff)
downloadampache-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_account.inc.php')
-rw-r--r--templates/show_install_account.inc.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/show_install_account.inc.php b/templates/show_install_account.inc.php
index e3a0a0d1..9baa2eeb 100644
--- a/templates/show_install_account.inc.php
+++ b/templates/show_install_account.inc.php
@@ -20,7 +20,6 @@
*
*/
-$prefix = realpath(dirname(__FILE__). "/../");
require $prefix . '/templates/install_header.inc.php';
?>
<div class="content">
@@ -33,7 +32,7 @@ require $prefix . '/templates/install_header.inc.php';
<?php Error::display('general'); ?>
<br />
<span class="header2"><?php echo T_('Create Admin Account'); ?></span>
- <form method="post" action="<?php echo WEB_PATH . "?action=create_account&amp;htmllang=$htmllang&amp;charset=$charset"; ?>" enctype="multipart/form-data" >
+ <form method="post" action="<?php echo $web_path . "/install.php?action=create_account&amp;htmllang=$htmllang&amp;charset=$charset"; ?>" enctype="multipart/form-data" >
<table>
<tr>
<td class="align"><?php echo T_('Username'); ?></td>