Commit: 4e50fab35fbb25d76c983f48fcb319d3114bebea Author: Hannes Magnusson <[email protected]> Wed, 4 Dec 2013 11:01:14 -0800 Parents: 8a567dbb25c953d4bdf485fcae255fb4796eaa4a Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=4e50fab35fbb25d76c983f48fcb319d3114bebea Log: Revert "Remove <base> tag completely" This reverts commit f6d5200c75c51ae9eafda4fc93e5cb24e87f205e. Changed paths: M include/header.inc Diff: diff --git a/include/header.inc b/include/header.inc index bb0ba9b..d65cd03 100755 --- a/include/header.inc +++ b/include/header.inc @@ -65,6 +65,8 @@ if (isset($shortname) && $shortname) { <script type="text/javascript" src="<?php echo $STATIC_ROOT ?>js/ext/html5.js"></script> <![endif]--> + <base href="http://<?php echo $_SERVER["HTTP_HOST"] . $_SERVER["SCRIPT_NAME"] ?>"> + <?php $jsfiles = array('ext/modernizr.js'); foreach ($jsfiles as $filename) { -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
