diff options
Diffstat (limited to 'vendor/smarty/smarty/libs/sysplugins/smarty_cacheresource.php')
-rw-r--r-- | vendor/smarty/smarty/libs/sysplugins/smarty_cacheresource.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/smarty/smarty/libs/sysplugins/smarty_cacheresource.php b/vendor/smarty/smarty/libs/sysplugins/smarty_cacheresource.php index 91e9f3924..db68f9bfd 100644 --- a/vendor/smarty/smarty/libs/sysplugins/smarty_cacheresource.php +++ b/vendor/smarty/smarty/libs/sysplugins/smarty_cacheresource.php @@ -205,11 +205,11 @@ abstract class Smarty_CacheResource } // try sysplugins dir if (isset(self::$sysplugins[ $type ])) { - $cache_resource_class = 'Smarty_Internal_CacheResource_' . ucfirst($type); + $cache_resource_class = 'Smarty_Internal_CacheResource_' . smarty_ucfirst_ascii($type); return $smarty->_cache[ 'cacheresource_handlers' ][ $type ] = new $cache_resource_class(); } // try plugins dir - $cache_resource_class = 'Smarty_CacheResource_' . ucfirst($type); + $cache_resource_class = 'Smarty_CacheResource_' . smarty_ucfirst_ascii($type); if ($smarty->loadPlugin($cache_resource_class)) { return $smarty->_cache[ 'cacheresource_handlers' ][ $type ] = new $cache_resource_class(); } |