import v1.1.0_RC2 | 2009-09-20
This commit is contained in:
@ -15,9 +15,9 @@
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Console_Getopt
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: $
|
||||
* @version $Id: Getopt.php 16971 2009-07-22 18:05:45Z mikaelkael $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -80,7 +80,7 @@
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Console_Getopt
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version Release: @package_version@
|
||||
* @since Class available since Release 0.6.0
|
||||
@ -169,7 +169,7 @@ class Zend_Console_Getopt
|
||||
self::CONFIG_RULEMODE => self::MODE_ZEND,
|
||||
self::CONFIG_DASHDASH => true,
|
||||
self::CONFIG_IGNORECASE => false,
|
||||
self::CONFIG_PARSEALL => true
|
||||
self::CONFIG_PARSEALL => true,
|
||||
);
|
||||
|
||||
/**
|
||||
@ -243,7 +243,7 @@ class Zend_Console_Getopt
|
||||
{
|
||||
if (!isset($_SERVER['argv'])) {
|
||||
require_once 'Zend/Console/Getopt/Exception.php';
|
||||
if(ini_get('register_argc_argv') == false) {
|
||||
if (ini_get('register_argc_argv') == false) {
|
||||
throw new Zend_Console_Getopt_Exception(
|
||||
"argv is not available, because ini option 'register_argc_argv' is set Off"
|
||||
);
|
||||
|
Reference in New Issue
Block a user