mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 10:24:26 +02:00
- broken PHP 5.3 and 5.4 compatibility
This commit is contained in:
@@ -64,7 +64,8 @@ class Smarty_Template_Compiled extends Smarty_Template_Resource_Base
|
||||
$this->filepath .= (int) $smarty->merge_compiled_includes + (int) $smarty->escape_html * 2;
|
||||
}
|
||||
$this->filepath .= '.' . $source->type;
|
||||
if (!empty($basename = $source->handler->getBasename($source))) {
|
||||
$basename = $source->handler->getBasename($source);
|
||||
if (!empty($basename)) {
|
||||
$this->filepath .= '.' . $basename;
|
||||
}
|
||||
if ($_template->caching) {
|
||||
|
Reference in New Issue
Block a user