- add locking to custom resources (Forum Post 75252)

this is a potentially dirty commit
This commit is contained in:
rodneyrehm
2011-10-14 16:17:27 +00:00
parent ef3e29daa7
commit 8a82d84861
4 changed files with 52 additions and 0 deletions
+1
View File
@@ -339,6 +339,7 @@ abstract class Smarty_Resource {
{
// try the instance cache
if (isset(self::$resources[$resource_type])) {
// FIXME: rodneyrehm need to validate if resource may be used in given $smarty.
return self::$resources[$resource_type];
}