Development

Changeset 8861

You must first sign up to be able to contribute.

Changeset 8861

Show
Ignore:
Timestamp:
05/08/08 13:54:11 (1 week ago)
Author:
fabien
Message:

fixed problem with PHP 5.2.6 and ini variables access value (closes #3466 - related to http://bugs.php.net/bug.php?id=44936)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.0/lib/config/sfPhpConfigHandler.class.php

    r3203 r8861  
    5858 
    5959        // key is overridable? 
    60         if ($configs[$key]['access'] != 7) 
     60        // 63 is returned by PHP 5.2.6 instead of 7 when a php.ini key is changed several times per script 
     61        if ($configs[$key]['access'] != 7 && $configs[$key]['access'] != 63) 
    6162        { 
    6263          $error = sprintf('Configuration file "%s" specifies key "%s" which cannot be overrided', $configFiles[0], $key);