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:
343ddff
)
Followup to r50316: Fix inclusion of profiler in maintenance scripts.
author
Chad Horohoe
<demon@users.mediawiki.org>
Thu, 7 May 2009 20:30:55 +0000
(20:30 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Thu, 7 May 2009 20:30:55 +0000
(20:30 +0000)
maintenance/commandLine.inc
patch
|
blob
|
history
diff --git
a/maintenance/commandLine.inc
b/maintenance/commandLine.inc
index
e83a191
..
8ccb72b
100644
(file)
--- a/
maintenance/commandLine.inc
+++ b/
maintenance/commandLine.inc
@@
-44,7
+44,9
@@
$IP = strval( getenv('MW_INSTALL_PATH') ) !== ''
? getenv('MW_INSTALL_PATH')
: realpath( dirname( __FILE__ ) . '/..' );
#chdir( $IP );
-require_once( "$IP/StartProfiler.php" );
+if ( file_exists( "$IP/StartProfiler.php" ) ) {
+ require_once( "$IP/StartProfiler.php" );
+}
$options = array();
$args = array();