Skip to content

Commit

Permalink
Add current user to the cache ID.
Browse files Browse the repository at this point in the history
This avoids permission conflicts if different users run CLI scripts and web
scripts on the same Horde installation.
  • Loading branch information
yunosh committed Feb 24, 2014
1 parent f34ef98 commit 15e863e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions framework/Core/lib/Horde/Registry.php
Expand Up @@ -743,6 +743,7 @@ protected function _cacheId($sha1 = null)
return implode('|', array(
'horde_registry_cache',
gethostname() ?: php_uname(),
getmyuid(),
__FILE__,
$this->_regmtime,
$sha1
Expand Down

0 comments on commit 15e863e

Please sign in to comment.