r73115 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r73114
|
r73115
|
r73116
>
Date:
13:45, 16 September 2010
Author:
catrope
Status:
ok (
Comments
)
Tags:
Comment:
(
bug 25182
) ResourceLoader breaks because of warnings thrown when an open_basedir is set. Fix is untested, asking reporter to confirm
Modified paths:
/trunk/phase3/includes/libs/CSSMin.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/libs/CSSMin.php
—
—
@@ -66,7 +66,7 @@
67
67
$file = ( isset( $path ) ? rtrim( $path, '/' ) . '/' : '' ) . "{$match['file'][0]}";
68
68
69
69
// Only proceed if we can access the file
70
- if ( file_exists( $file ) ) {
70
+ if ( !is_null( $path ) && file_exists( $file ) ) {
71
71
$files[] = $file;
72
72
}
73
73
}
Comments
#
Comment by
Trevor Parscal (WMF)
(
talk
|
contribs
)
23:20, 24 September 2010
Reported claims this worked.
Status & tagging log
23:20, 24 September 2010
Trevor Parscal (WMF)
(
talk
|
contribs
)
changed the
status
of r73115
[
removed:
new
added:
ok]