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:
34515b9
)
More of the ongoing war against mkdir() in favor of wfMkdirParents()
author
Chad Horohoe
<demon@users.mediawiki.org>
Mon, 11 Aug 2008 15:44:59 +0000
(15:44 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Mon, 11 Aug 2008 15:44:59 +0000
(15:44 +0000)
includes/Math.php
patch
|
blob
|
history
diff --git
a/includes/Math.php
b/includes/Math.php
index
871e9fc
..
3f4cdd4
100644
(file)
--- a/
includes/Math.php
+++ b/
includes/Math.php
@@
-47,7
+47,7
@@
class MathRenderer {
if( !$this->_recall() ) {
# Ensure that the temp and output directories are available before continuing...
if( !file_exists( $wgTmpDirectory ) ) {
- if( !
@mkdir
( $wgTmpDirectory ) ) {
+ if( !
wfMkdirParents
( $wgTmpDirectory ) ) {
return $this->_error( 'math_bad_tmpdir' );
}
} elseif( !is_dir( $wgTmpDirectory ) || !is_writable( $wgTmpDirectory ) ) {