Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.8.0
-
Component/s: Zend_Console_Getopt
-
Labels:None
-
Fix Version Priority:Should Have
Description
If this ini options are OFF this results in not registered _SERVER indexes. This should be better checked and tested to detect Environment (SAPI, CLI).
Console\Getopt.php Line 228 $_SERVER['argv'][0];
This will throw an exception if argv isn't found. Probably the best we can do in that situation.