diff options
author | wei <> | 2006-09-18 23:38:21 +0000 |
---|---|---|
committer | wei <> | 2006-09-18 23:38:21 +0000 |
commit | 4def5cca8aeb85390c0f82c9445ee228ac40a7f3 (patch) | |
tree | 2e5e33e2c20ffefaedcb3d39a9f57dd8a9172f3c /framework/prado-cli.php | |
parent | 1e5f13b21b33b0d7ce86fe97ca145a3561433a7a (diff) |
Add CommandLine quickstart doc.
Diffstat (limited to 'framework/prado-cli.php')
-rwxr-xr-x | framework/prado-cli.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/prado-cli.php b/framework/prado-cli.php index 58e274fe..894d8adc 100755 --- a/framework/prado-cli.php +++ b/framework/prado-cli.php @@ -33,7 +33,7 @@ restore_exception_handler(); //run it; PradoCommandLineInterpreter::run($_SERVER['argv']); -if(strtolower($_SERVER['argv'][1])==='shell') +if(count($_SERVER['argv']) > 1 && strtolower($_SERVER['argv'][1])==='shell') include_once(dirname(__FILE__).'/3rdParty/PhpShell/php-shell-cmd.php'); class PradoCommandLineInterpreter |