dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae03d7a
)
Adding helpful comment :)
author
Ryan Kaldari
<kaldari@users.mediawiki.org>
Fri, 20 Aug 2010 01:47:52 +0000
(
01:47
+0000)
committer
Ryan Kaldari
<kaldari@users.mediawiki.org>
Fri, 20 Aug 2010 01:47:52 +0000
(
01:47
+0000)
includes/OutputPage.php
patch
|
blob
|
history
diff --git
a/includes/OutputPage.php
b/includes/OutputPage.php
index
2ac82fc
..
343a352
100644
(file)
--- a/
includes/OutputPage.php
+++ b/
includes/OutputPage.php
@@
-195,6
+195,7
@@
class OutputPage {
*/
public function addScriptFile( $file, $version = null ) {
global $wgStylePath, $wgStyleVersion;
+ // See if $file parameter is an absolute URL or begins with a slash
if( substr( $file, 0, 1 ) == '/' || preg_match( '#^[a-z]*://#i', $file ) ) {
$path = $file;
} else {