From 85e1f567d4cbfcf2ca8549b39685b2a9c45f53a9 Mon Sep 17 00:00:00 2001 From: andrey Date: Fri, 26 Oct 2001 19:06:01 +0000 Subject: [PATCH] Disable rmdir warning. --- Smarty.class.php | 2 +- libs/Smarty.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Smarty.class.php b/Smarty.class.php index d8ffd230..752b3978 100644 --- a/Smarty.class.php +++ b/Smarty.class.php @@ -1177,7 +1177,7 @@ function _run_mod_handler() closedir($handle); if ($level) - rmdir($dirname); + @rmdir($dirname); return true; } diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index d8ffd230..752b3978 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -1177,7 +1177,7 @@ function _run_mod_handler() closedir($handle); if ($level) - rmdir($dirname); + @rmdir($dirname); return true; }