diff --git a/change_log.txt b/change_log.txt index b6bf544f..1d42b0a7 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,4 +1,4 @@ -===== 3.1.31 ===== (23.11.2016) +===== 3.1.31 ===== (14.12.2016) 23.11.2016 - move template object cache into static variables diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index 080f2566..57eedfb9 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -27,7 +27,7 @@ * @author Uwe Tews * @author Rodney Rehm * @package Smarty - * @version 3.1.31-dev + * @version 3.1.31 */ /** @@ -108,7 +108,7 @@ class Smarty extends Smarty_Internal_TemplateBase /** * smarty version */ - const SMARTY_VERSION = '3.1.31-dev/47'; + const SMARTY_VERSION = '3.1.31'; /** * define variable scopes diff --git a/utilities/BuildExpectedFiles.php b/utilities/BuildExpectedFiles.php deleted file mode 100644 index b6c368d8..00000000 --- a/utilities/BuildExpectedFiles.php +++ /dev/null @@ -1,30 +0,0 @@ -isDot() && 'php' == $file->getExtension()) { - $filename = $file->getBasename(); - $sysplugins[ $filename ] = true; - } -} -$plugins = array(); -$iterator = new DirectoryIterator(__DIR__ . '/../libs/plugins'); -foreach ($iterator as $file) { - if (!$file->isDot() && 'php' == $file->getExtension()) { - $filename = $file->getBasename(); - $plugins[ $filename ] = true; - } -} -$code = file_get_contents(__DIR__ . '/../libs/sysplugins/smarty_internal_testinstall.php'); -$expectedPlugins = '$expectedPlugins = ' . var_export($plugins, true); -$code = preg_replace('#\$expectedPlugins =[^;]+#', $expectedPlugins, $code); -$expectedSysplugins = '$expectedSysplugins = ' . var_export($sysplugins, true); -$code = preg_replace('#\$expectedSysplugins =[^;]+#', $expectedSysplugins, $code); -file_put_contents(__DIR__ . '/../libs/sysplugins/smarty_internal_testinstall.php', $code); -