X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=maintenance%2Fmwdoc-filter.php;h=89fc44bd6ec0c64ba6726197f01cff083cabc33c;hb=c99e9beff7d7c1a5a48f8d6f869a42425021c62b;hp=07aa2824aa816a4632bf8f5826bf75c03e3d3dfa;hpb=6124d71e25c2894c3e025c20e81ff742045e8cd5;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" ); }