]> git.p6c8.net - jirafeau_mojo42.git/blobdiff - install.php
[BUGFIX] detect and adapt server limitation
[jirafeau_mojo42.git] / install.php
index ffe86c01856a3909e51e0b5c924b4e0099d57855..b729be5913efa3a98ba50dc2ae1b9abb06ec79f0 100644 (file)
@@ -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
@@ -251,8 +251,8 @@ case 2:
         </tr> <tr> <td colspan = "2"><input type = "submit"
         class = "navleft" name = "previous" value = "<?php
         echo t('PREV_STEP'); ?>" />
-         <input type = "submit" class = "navright" name = "next" value = "
-        <?php echo t('NEXT_STEP'); ?>" />
+         <input type = "submit" class = "navright" name = "next" value = 
+        "<?php echo t('NEXT_STEP'); ?>" />
         </td> </tr> </table> </fieldset>
         </form> </div> <?php
 break;
@@ -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

patrick-canterino.de