dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove deprecated class SquidUpdate
[lhc/web/wiklou.git]
/
maintenance
/
mwdoc-filter.php
diff --git
a/maintenance/mwdoc-filter.php
b/maintenance/mwdoc-filter.php
index
07aa282
..
89fc44b
100644
(file)
--- a/
maintenance/mwdoc-filter.php
+++ b/
maintenance/mwdoc-filter.php
@@
-38,7
+38,8
@@
* DEALINGS IN THE SOFTWARE.
*/
* DEALINGS IN THE SOFTWARE.
*/
-if ( PHP_SAPI != 'cli' ) {
+// Warning: Converting this to a Maintenance script may reduce performance.
+if ( PHP_SAPI != 'cli' && PHP_SAPI != 'phpdbg' ) {
die( "This filter can only be run from the command line.\n" );
}
die( "This filter can only be run from the command line.\n" );
}