X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/1a41ef82ac7e1a30134e471f73e9a8d0e204f2a6..3cb22e21af1da24c9cd691ca802e687aadd6d976:/install.php?ds=sidebyside diff --git a/install.php b/install.php index 4a554ab..b729be5 100644 --- a/install.php +++ b/install.php @@ -225,7 +225,7 @@ case 2: <td class = "field"><input type = "text" name = "web_root" id = "input_web_root" value = "<?php echo(empty($cfg['web_root']) ? - 'http://' . $_SERVER['HTTP_HOST'] . str_replace(basename(__FILE__), + $_SERVER['HTTP_HOST'] . str_replace(basename(__FILE__), '', $_SERVER['REQUEST_URI']) : $cfg['web_root']); ?>" size = "40" /></td> </tr> <tr> <td class = "info" colspan = "2"><?php @@ -268,10 +268,7 @@ case 3: ?></legend> <table> <tr> <td class = "info" colspan = "2"><?php echo t('SETTING_UP'); ?></td> </tr> <tr> <td class = "nav previous"><input type = - "submit" name = "previous" value = - " - <?php - echo t('PREV_STEP'); + "submit" name = "previous" value = " <?php echo t('PREV_STEP'); ?>" /></td> <td></td> </tr> </table> </fieldset> </form> </div> <?php