Mercurial > hg > rc2
comparison program/include/clisetup.php @ 13:cfac0673464e
allow debugging
| author | Charlie Root |
|---|---|
| date | Sat, 06 Sep 2025 08:12:41 -0400 |
| parents | 4681f974d28b |
| children |
comparison
equal
deleted
inserted
replaced
| 12:5039cc34571f | 13:cfac0673464e |
|---|---|
| 17 +-----------------------------------------------------------------------+ | 17 +-----------------------------------------------------------------------+ |
| 18 | Author: Thomas Bruederli <roundcube@gmail.com> | | 18 | Author: Thomas Bruederli <roundcube@gmail.com> | |
| 19 +-----------------------------------------------------------------------+ | 19 +-----------------------------------------------------------------------+ |
| 20 */ | 20 */ |
| 21 | 21 |
| 22 if (php_sapi_name() != 'cli') { | 22 if (php_sapi_name() != 'cli' && php_sapi_name() != 'phpdbg') { |
| 23 die('Not on the "shell" (php-cli).'); | 23 die('Not on the "shell" (php-cli).'); |
| 24 } | 24 } |
| 25 | 25 |
| 26 require_once INSTALL_PATH . 'program/include/iniset.php'; | 26 require_once INSTALL_PATH . 'program/include/iniset.php'; |
| 27 | 27 |
