ZF-7515: fail to set STORAGE_DIR to $HOME/.zf/

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']);

Comments

Fixed in trunk in r17522 and 1.9 release branch in r17524

Updating fix version information