diff --git a/change_log.txt b/change_log.txt index f0a28832..ce024609 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,4 +1,7 @@ ===== trunk ===== +20.10.2011 +- @silenced unlink() in Smarty_Internal_Write_File since debuggers go haywire without it. + 19.10.2011 - revert PHP4 constructor message - fixed PHP4 constructor message diff --git a/libs/sysplugins/smarty_internal_write_file.php b/libs/sysplugins/smarty_internal_write_file.php index aae600ee..743503b0 100644 --- a/libs/sysplugins/smarty_internal_write_file.php +++ b/libs/sysplugins/smarty_internal_write_file.php @@ -46,7 +46,7 @@ class Smarty_Internal_Write_File { } // remove original file - unlink($_filepath); + @unlink($_filepath); // rename tmp file $success = rename($_tmp_file, $_filepath);