added if(isset($_SERVER['SCRIPT_URI'])) and change "print" to "echo" on line 93

master
Victor De la Rocha 2007-09-18 17:41:40 +00:00
parent 2eb8f3a986
commit 199c749069
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ $install->check_form();
<li><label for="description">Description:</label> <li><label for="description">Description:</label>
<input type="text" name="description" id="description" value="" class="txt"/></li> <input type="text" name="description" id="description" value="" class="txt"/></li>
<li><label for="url_installation">Installation URL</label> <li><label for="url_installation">Installation URL</label>
<input type="text" name="url_installation" id="url_installation" value="<?php print substr($_SERVER["SCRIPT_URI"], '0', '-12'); ?>" class="txt"/><?php echo $install->mostrarerror("5")?></li> <input type="text" name="url_installation" id="url_installation" value="<?php if(isset($_SERVER['SCRIPT_URI']))echo substr($_SERVER["SCRIPT_URI"], '0', '-12'); ?>" class="txt"/><?php echo $install->mostrarerror("5")?></li>
<li><label for="posts_limit">Post limit:</label> <li><label for="posts_limit">Post limit:</label>
<input type="text" name="posts_limit" id="posts_limit" value="10" class="txt"/></li> <input type="text" name="posts_limit" id="posts_limit" value="10" class="txt"/></li>
<li><label for="lang">Language:</label> <li><label for="lang">Language:</label>