changeset 13:cfac0673464e

allow debugging
author Charlie Root
date Sat, 06 Sep 2025 08:12:41 -0400
parents 5039cc34571f
children abddb304201f
files program/include/clisetup.php
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/program/include/clisetup.php	Thu Aug 28 10:37:42 2025 -0400
+++ b/program/include/clisetup.php	Sat Sep 06 08:12:41 2025 -0400
@@ -19,7 +19,7 @@
  +-----------------------------------------------------------------------+
 */
 
-if (php_sapi_name() != 'cli') {
+if (php_sapi_name() != 'cli' && php_sapi_name() != 'phpdbg') {
     die('Not on the "shell" (php-cli).');
 }