diff --git a/inc/functions.php b/inc/functions.php old mode 100644 new mode 100755 index be3747d4..e8ee59cf --- a/inc/functions.php +++ b/inc/functions.php @@ -317,7 +317,7 @@ $debug['unlink'][] = $path; } - @unlink($path); + $ret = @unlink($path); if(isset($config['purge']) && isset($_SERVER['HTTP_HOST'])) { // Purge cache if(basename($path) == $config['file_index']) { @@ -332,6 +332,7 @@ } purge($path); } + return $ret; } function listBoards() {