X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=maintenance%2Fmwdoc-filter.php;h=89fc44bd6ec0c64ba6726197f01cff083cabc33c;hp=feaad12a60ddd0e4e19d864fd90983f82bf286a9;hb=74426f3cf796b149f1ae445e41815bbe148640b2;hpb=853b17ef5788be25045855ab340c9e0d8b443218 diff --git a/maintenance/mwdoc-filter.php b/maintenance/mwdoc-filter.php index feaad12a60..89fc44bd6e 100644 --- a/maintenance/mwdoc-filter.php +++ b/maintenance/mwdoc-filter.php @@ -39,7 +39,7 @@ */ // Warning: Converting this to a Maintenance script may reduce performance. -if ( PHP_SAPI != 'cli' ) { +if ( PHP_SAPI != 'cli' && PHP_SAPI != 'phpdbg' ) { die( "This filter can only be run from the command line.\n" ); }