Show
Ignore:
Timestamp:
08/30/08 12:49:26 (4 months ago)
Author:
vollmerk
Message:

improve error reporting on install and add in use existing database option

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/3.4/templates/show_install.inc.php

    r1304 r1711  
    22/* 
    33 
    4  Copyright (c) 2001 - 2007 Ampache.org 
     4 Copyright (c) Ampache.org 
    55 All rights reserved. 
    66 
     
    6060                <br /> 
    6161                <span class="header2"><?php echo _('Insert Ampache Database'); ?></span> 
    62                 <form method="post" action="<?php echo $http_type . $_SERVER['HTTP_HOST'] .  $_SERVER['PHP_SELF'] . "?action=create_db&amp;htmllang=$htmllang&amp;charset=$charset"; ?>" enctype="multipart/form-data" > 
     62                <form method="post" action="<?php echo WEB_PATH . "?action=create_db&amp;htmllang=$htmllang&amp;charset=$charset"; ?>" enctype="multipart/form-data" > 
    6363<table> 
    6464<tr> 
     
    9595</tr> 
    9696<tr> 
     97        <td class="align"><?php echo _('Use Existing Database'); ?></td> 
     98        <td><input type="checkbox" name="existing_db" value="1" /></td> 
     99</tr> 
     100<tr> 
    97101        <td>&nbsp;</td> 
    98102        <td><input type="submit" value="<?php echo _("Insert Database"); ?>" /></td>