diff options
| author | uwetews <uwe.tews@googlemail.com> | 2016-12-14 22:57:25 +0100 |
|---|---|---|
| committer | uwetews <uwe.tews@googlemail.com> | 2016-12-14 22:57:25 +0100 |
| commit | c7d42e4a327c402897dd587871434888fde1e7a9 (patch) | |
| tree | 5b6525e960abf3578e8c733136641a2bea5e30dc /utilities | |
| parent | 27928ece9ce517c93cd0e7a327eaa353eb467a11 (diff) | |
| download | smarty-c7d42e4a327c402897dd587871434888fde1e7a9.tar.gz smarty-c7d42e4a327c402897dd587871434888fde1e7a9.tar.bz2 smarty-c7d42e4a327c402897dd587871434888fde1e7a9.zip | |
prepare 3.1.31 releasev3.1.31
Diffstat (limited to 'utilities')
| -rw-r--r-- | utilities/BuildExpectedFiles.php | 30 |
1 files changed, 0 insertions, 30 deletions
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 @@ -<?php -/** - * Created by PhpStorm. - * User: Uwe Tews - * Date: 25.10.2015 - * Time: 23:58 - */ -$sysplugins = array(); -$iterator = new DirectoryIterator(__DIR__ . '/../libs/sysplugins'); -foreach ($iterator as $file) { - if (!$file->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); - |
