revert change to variable name

This commit is contained in:
Simon Wisselink
2024-03-27 22:14:49 +01:00
parent 263c9cd3cd
commit 48016d4581

View File

@@ -1339,7 +1339,7 @@ class Smarty extends \Smarty\TemplateBase {
}
$_filepath = (string)$_file;
if ($_file->isDir()) {
if (!$_file->isDot()) {
if (!$_compile->isDot()) {
// delete folder if empty
@rmdir($_file->getPathname());
}