mirror of
https://github.com/smarty-php/smarty.git
synced 2026-05-06 08:26:19 +02:00
- add locking to custom resources (Forum Post 75252)
this is a potentially dirty commit
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user