Closed
Description
Since 3.1.28 the smarty autoloader tries to load the class Smarty_Internal_Compile_URL.
This will not work because URL is a custom function.
In 3.1.27 it is all ok.
My custom function (plugins/function.URL.php):
function smarty_function_URL($params, $template) {
$sPath = ifsetter($params['path'], '');
return MSE()->Language()->getUrl(['sPath' => $sPath]);
}
Template example: {URL path=$i1}
Metadata
Metadata
Assignees
Labels
No labels