Zend Framework

fail to set STORAGE_DIR to $HOME/.zf/

Details

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

Description

Here is the patch.

--- zf.php.orig 2009-08-07 18:16:20.000000000 +0900
+++ zf.php      2009-08-07 18:16:40.000000000 +0900
@@ -64,7 +64,7 @@
     if (($zfStorage = getenv('ZF_STORAGE_DIR')) && file_exists($zfStorage)) {
         $_zf['STORAGE_DIR'] = $zfStorage;
     } elseif (isset($_zf['HOME']) && file_exists($_zf['HOME'] . '/.zf/')) {
-        $_zf['STORAGE_DIR'] = $_ENV['HOME'] . '/.zf/';
+        $_zf['STORAGE_DIR'] = $_zf['HOME'] . '/.zf/';
     }
     
     $storageRealpath = realpath($_zf['STORAGE_DIR']);

Issue Links

Activity

Hide
Ralph Schindler added a comment -

Fixed in trunk in r17522 and 1.9 release branch in r17524

Show
Ralph Schindler added a comment - Fixed in trunk in r17522 and 1.9 release branch in r17524
Hide
Ralph Schindler added a comment -

Updating fix version information

Show
Ralph Schindler added a comment - Updating fix version information

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: