X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fmwdoc-filter.php;h=1da805e927c977aa165b7e3bc3b70b00b4f71caf;hb=683621c048d9098a4aa61eb3eb9ff7bad0fca2e0;hp=feaad12a60ddd0e4e19d864fd90983f82bf286a9;hpb=c7a997a3789035d66995eff716b80aec783f9acd;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/mwdoc-filter.php b/maintenance/mwdoc-filter.php index feaad12a60..1da805e927 100644 --- a/maintenance/mwdoc-filter.php +++ b/maintenance/mwdoc-filter.php @@ -17,7 +17,6 @@ * symbols being documented but not declared or defined. * * Copyright (C) 2012 Tamas Imrei https://virtualtee.blogspot.com/ - * Copyright (C) 2015 Timo Tijhof * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the "Software"), @@ -39,7 +38,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" ); }