summaryrefslogtreecommitdiffstats
path: root/templates/show_install.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-07-08 09:09:22 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-07-08 09:09:22 +0000
commitc014a32ec312d9f701962149b62d6119a5da6b99 (patch)
tree189857deb8de2d99221aebf0b453d0a4c6c719ae /templates/show_install.inc.php
parent86a9ed00b3f418fef4db30dc4f49feb5b5e7ab72 (diff)
downloadampache-c014a32ec312d9f701962149b62d6119a5da6b99.tar.gz
ampache-c014a32ec312d9f701962149b62d6119a5da6b99.tar.bz2
ampache-c014a32ec312d9f701962149b62d6119a5da6b99.zip
add additional information during the install process
Diffstat (limited to 'templates/show_install.inc.php')
-rw-r--r--templates/show_install.inc.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/templates/show_install.inc.php b/templates/show_install.inc.php
index 9465ca3f..5a41ab93 100644
--- a/templates/show_install.inc.php
+++ b/templates/show_install.inc.php
@@ -19,7 +19,7 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
if (INSTALL != '1') { exit; }
-$prefix = dirname(__FILE__);
+$prefix = realpath(dirname(__FILE__). "/../");
$dir = is_rtl($htmllang) ? 'rtl' : 'ltr';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -47,7 +47,7 @@ $dir = is_rtl($htmllang) ? 'rtl' : 'ltr';
<li><?php echo sprintf(_("Your webserver has read access to the %s file and the %s file"),$prefix . '/sql/ampache.sql',$prefix . '/config/ampache.cfg.dist'); ?></li>
</ul>
<p>
-<?php echo _("Once you have ensured that you have the above requirements please fill out the information below. You will only be asked for the required config values. If you would like to make changes to your ampache install at a later date simply edit /config/ampache.cfg.php"); ?>
+<?php echo sprintf(_('Once you have ensured that you have the above requirements please fill out the information below. You will only be asked for the required config values. If you would like to make changes to your ampache install at a later date simply edit %s'),$prefix . '/config/ampache.cfg.php'); ?>
</p>
</div>
@@ -104,10 +104,8 @@ $dir = is_rtl($htmllang) ? 'rtl' : 'ltr';
<td>&nbsp;</td>
<td><input type="submit" value="<?php echo _("Insert Database"); ?>" /></td>
</tr>
-
- </table>
- </form>
-
+</table>
+</form>
</div>
<div id="bottom">
<p><strong>Ampache Installation.</strong><br />