X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fmwdoc-filter.php;h=89fc44bd6ec0c64ba6726197f01cff083cabc33c;hb=a469e81971a11b931716897d65e1fa3fdfe378e2;hp=feaad12a60ddd0e4e19d864fd90983f82bf286a9;hpb=ca55cfd87d2efc41b6ab208d60d1cde61f0ac9c0;p=lhc%2Fweb%2Fwiklou.git 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" ); }