X-Git-Url: http://git.cyclocoop.org/%22.%24redirect_annul.%22?a=blobdiff_plain;f=maintenance%2Fmwdoc-filter.php;h=89fc44bd6ec0c64ba6726197f01cff083cabc33c;hb=8bda7b9dcdfbab485f439fbf4f41da1c84f5d62e;hp=07aa2824aa816a4632bf8f5826bf75c03e3d3dfa;hpb=41f1ce0d35b929d480ce87605a3234c187e44fd2;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/mwdoc-filter.php b/maintenance/mwdoc-filter.php index 07aa2824aa..89fc44bd6e 100644 --- a/maintenance/mwdoc-filter.php +++ b/maintenance/mwdoc-filter.php @@ -38,7 +38,8 @@ * 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" ); }