Add project settings option to override individual settings for any project, regardless of the project list method used. Also use settings as terminology instead of override
[gitphp.git] / include / controller / ControllerBase.class.php
blob:a/include/controller/ControllerBase.class.php -> blob:b/include/controller/ControllerBase.class.php
--- a/include/controller/ControllerBase.class.php
+++ b/include/controller/ControllerBase.class.php
@@ -130,7 +130,7 @@
 
 		$projList = GitPHP_ProjectList::GetInstance();
 		if ($projList) {
-			$cacheKeyPrefix .= '|' . sha1(serialize($projList->GetConfig()));
+			$cacheKeyPrefix .= '|' . sha1(serialize($projList->GetConfig())) . '|' . sha1(serialize($projList->GetSettings()));
 			unset($projList);
 		}
 		if ($this->project && $projectKeys) {

comments