Details
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
| This issue duplicates: | ||||
| ZF-7464 | zf.bat on Windows throws Undefined index: STORAGE_DIR Notice |
|
|
|
Fixed in trunk in r17522 and 1.9 release branch in r17524