You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function Smarty_Resource::parseResourceName in libs\sysplugins\smarty_resource.php uses this code to determine resource type:
publicstaticfunction parseResourceName($resource_name, $default_resource)
{
$parts = explode(':', $resource_name, 2);
if (!isset($parts[1]) || !isset($parts[0][1])) {
// no resource given, use default//...
and when we have this type of path, the explode(':' splits the $resource_name incorrectly.
It's possible to change the delimiter or escape the path?
Thanks
The text was updated successfully, but these errors were encountered:
brandomeniconi
changed the title
Smarty_Resource::parseResourceName incomaptible with Google AppEngine
Smarty_Resource::parseResourceName incompatible with Google AppEngine
Apr 2, 2015
Google AppEngine PHP Environment uses paths like:
/base/data/home/apps/s~[project-name]/[module]:[version]/[path]/template.tpl
example:
/base/data/home/apps/s~myproject/default:1.316876871687/templates/template.tpl
The function Smarty_Resource::parseResourceName in libs\sysplugins\smarty_resource.php uses this code to determine resource type:
and when we have this type of path, the explode(':' splits the $resource_name incorrectly.
It's possible to change the delimiter or escape the path?
Thanks
The text was updated successfully, but these errors were encountered: