Update IPSet use statements
[lhc/web/wiklou.git] / maintenance / mwdoc-filter.php
index 07aa282..89fc44b 100644 (file)
@@ -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" );
 }