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:
164bb32
)
Don't show warning if the file is missing
author
Tim Starling
<tstarling@users.mediawiki.org>
Wed, 15 Aug 2007 10:50:59 +0000
(10:50 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Wed, 15 Aug 2007 10:50:59 +0000
(10:50 +0000)
includes/DjVuImage.php
patch
|
blob
|
history
diff --git
a/includes/DjVuImage.php
b/includes/DjVuImage.php
index
1e42356
..
b48aaff
100644
(file)
--- a/
includes/DjVuImage.php
+++ b/
includes/DjVuImage.php
@@
-104,7
+104,9
@@
class DjVuImage {
}
function getInfo() {
+ wfSuppressWarnings();
$file = fopen( $this->mFilename, 'rb' );
+ wfRestoreWarnings();
if( $file === false ) {
wfDebug( __METHOD__ . ": missing or failed file read\n" );
return false;