Skip to content

Commit

Permalink
revert change to variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
wisskid committed Mar 27, 2024
1 parent 263c9cd commit 48016d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Smarty.php
Original file line number Diff line number Diff line change
Expand Up @@ -1339,7 +1339,7 @@ public function clearCompiledTemplate($resource_name = null, $compile_id = null,
}
$_filepath = (string)$_file;
if ($_file->isDir()) {
if (!$_file->isDot()) {
if (!$_compile->isDot()) {
// delete folder if empty
@rmdir($_file->getPathname());
}
Expand Down

0 comments on commit 48016d4

Please sign in to comment.