Zend Framework

register_argc_argv = Off error

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major 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];

Activity

Hide
Ruben Vermeersch added a comment -

This will throw an exception if argv isn't found. Probably the best we can do in that situation.

Show
Ruben Vermeersch added a comment - This will throw an exception if argv isn't found. Probably the best we can do in that situation.
Hide
Wil Sinclair added a comment -

Please evaluate and categorize as appropriate.

Show
Wil Sinclair added a comment - Please evaluate and categorize as appropriate.
Hide
Benjamin Eberlei added a comment -

Fixed in trunk as of r12668

Show
Benjamin Eberlei added a comment - Fixed in trunk as of r12668

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: