summaryrefslogtreecommitdiff
path: root/framework/prado-cli.php
diff options
context:
space:
mode:
authorwei <>2006-09-18 23:38:21 +0000
committerwei <>2006-09-18 23:38:21 +0000
commit4def5cca8aeb85390c0f82c9445ee228ac40a7f3 (patch)
tree2e5e33e2c20ffefaedcb3d39a9f57dd8a9172f3c /framework/prado-cli.php
parent1e5f13b21b33b0d7ce86fe97ca145a3561433a7a (diff)
Add CommandLine quickstart doc.
Diffstat (limited to 'framework/prado-cli.php')
-rwxr-xr-xframework/prado-cli.php2
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