// give it another try, now that the resource is registered properly
return self::
load($smarty,
$type);
} // try streams
$_known_stream =
stream_get_wrappers();
if (in_array($type,
$_known_stream)) { // is known stream
if (is_object($smarty->security_policy
)) { $smarty->security_policy->
isTrustedStream($type);
} if (!
isset(self::
$resources['stream'
])) { self::
$resources['stream'
] =
new Smarty_Internal_Resource_Stream();
} return $smarty->_resource_handlers
[$type] = self::
$resources['stream'
];
} // TODO: try default_(template|config)_handler
// give up