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
Posted by Ralph Schindler (ralph) on 2009-08-10T10:10:48.000+0000
Fixed in trunk in r17522 and 1.9 release branch in r17524
Posted by Ralph Schindler (ralph) on 2009-08-12T10:36:36.000+0000
Updating fix version information