X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=scripts%2Fconsole.php;h=44f3934a1fcff1a8f20b8808230a6642595d4205;hb=d9b35208ecda59292680fb55e38c56b2831d5366;hp=4d207c261b5a7da9f52799107dd04805e0240520;hpb=a85a3ddc725a99ea182e86ec65f6be574752b18f;p=quix0rs-gnu-social.git diff --git a/scripts/console.php b/scripts/console.php index 4d207c261b..44f3934a1f 100755 --- a/scripts/console.php +++ b/scripts/console.php @@ -18,7 +18,7 @@ * along with this program. If not, see . */ -# Abort if called from a web server +// Abort if called from a web server define('INSTALLDIR', realpath(dirname(__FILE__) . '/..')); @@ -27,7 +27,7 @@ console.php - provide an interactive PHP interpreter for testing ENDOFHELP; -require_once INSTALLDIR.'/scripts/commandline.inc'; +require_once INSTALLDIR.'/scripts/commandline.inc.php'; // Assume we're on a terminal if on Windows, otherwise posix_isatty tells us. define('CONSOLE_INTERACTIVE', !function_exists('posix_isatty') || posix_isatty(0));