Zend Framework

Config.php generates wrong php.includepath entry in .zf.ini

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.10.4
  • Fix Version/s: 1.11.0
  • Component/s: Zend_Tool
  • Labels:
    None

Description

/Zend/Tool/Framework/System/Provider/Config.php

Generates a .zf.ini with wrong entry:

php.includepath

it should be :Bugfix:
php.include_path

Howto fix:

goto line 88:

$config = array(
            'php' => array(
                'includepath' => get_include_path(),
            ),
        );

and change 'includepath' -> 'include_path'

Issue Links

Activity

Hide
Konr Ness added a comment -

Confirmed this is still a problem in at revision 22686.

/Zend/Tool/Framework/System/Provider/Config.php sets the include path config key to "includepath".

/bin/zf.php (line 518) writes it as:
php.include_path

/bin/zf.php (line 322) is calling ini_set on all config options in the php key, and the proper way to set the include path via ini_set is:
ini_set('include_path', $path);

Show
Konr Ness added a comment - Confirmed this is still a problem in at revision 22686. /Zend/Tool/Framework/System/Provider/Config.php sets the include path config key to "includepath". /bin/zf.php (line 518) writes it as: php.include_path /bin/zf.php (line 322) is calling ini_set on all config options in the php key, and the proper way to set the include path via ini_set is: ini_set('include_path', $path);
Hide
Ralph Schindler added a comment -

Fixed in r23205 in trunk and r23206 in release branch 1.11

Show
Ralph Schindler added a comment - Fixed in r23205 in trunk and r23206 in release branch 1.11

People

Vote (2)
Watch (4)

Dates

  • Created:
    Updated:
    Resolved: