com web/php: Whopsy, fix path :): include/header.inc

From: Date: Wed, 04 Dec 2013 07:37:27 +0000
Subject: com web/php: Whopsy, fix path :): include/header.inc
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-17338@lists.php.net to get a copy of this message
Commit: 601c8adc8f8ef057b8f55e1e511cc50d4cdadb3b Author: Hannes Magnusson <bjori@mongodb.com> Tue, 3 Dec 2013 23:37:27 -0800 Parents: f97c8114125b77806eb6e6797704761dcd4ea8cf Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=601c8adc8f8ef057b8f55e1e511cc50d4cdadb3b Log: Whopsy, fix path :) Changed paths: M include/header.inc Diff: diff --git a/include/header.inc b/include/header.inc index 3ca0cbb..ba23ef8 100755 --- a/include/header.inc +++ b/include/header.inc @@ -73,7 +73,7 @@ if (isset($shortname) && $shortname) { $jsfiles = array('ext/modernizr.js'); foreach ($jsfiles as $filename) { $path = dirname(dirname(__FILE__)).'/js/'.$filename; - echo '<script type="text/javascript" src="cached.php?f=/js/'.$filename.'&t='.@filemtime($path).'"></script>'; + echo '<script type="text/javascript" src="/cached.php?f=/js/'.$filename.'&t='.@filemtime($path).'"></script>'; } ?> </head>

« previous php.webmaster (#17338) next »