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:
@@ -1,7 +1,8 @@
|
||||
===== 3.1.30-dev ===== (xx.xx.xx)
|
||||
16.05.2016
|
||||
- optimization {foreach} compiler and processing
|
||||
|
||||
- broken PHP 5.3 and 5.4 compatibility
|
||||
|
||||
15.05.2016
|
||||
- optimization and cleanup of resource code
|
||||
|
||||
|
@@ -121,7 +121,7 @@ class Smarty extends Smarty_Internal_TemplateBase
|
||||
/**
|
||||
* smarty version
|
||||
*/
|
||||
const SMARTY_VERSION = '3.1.30-dev/70';
|
||||
const SMARTY_VERSION = '3.1.30-dev/71';
|
||||
|
||||
/**
|
||||
* define variable scopes
|
||||
|
@@ -45,7 +45,8 @@ class Smarty_Internal_CacheResource_File extends Smarty_CacheResource
|
||||
$_filepath[ 4 ] . $_filepath[ 5 ] . DS;
|
||||
}
|
||||
$cached->filepath .= $_filepath;
|
||||
if (!empty($basename = $source->handler->getBasename($source))) {
|
||||
$basename = $source->handler->getBasename($source);
|
||||
if (!empty($basename)) {
|
||||
$cached->filepath .= '.' . $basename;
|
||||
}
|
||||
if ($smarty->cache_locking) {
|
||||
|
Reference in New Issue
Block a user