From f3176fd6ab110f5a2dc9401c375c30d9f74a35fd Mon Sep 17 00:00:00 2001 From: sparkyx Date: Fri, 19 May 2023 17:20:27 +0200 Subject: [PATCH] Debug : error is tracefile not enable --- include/lib/ac_common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/lib/ac_common.php b/include/lib/ac_common.php index 41b6cfd91..fab25c571 100644 --- a/include/lib/ac_common.php +++ b/include/lib/ac_common.php @@ -1355,7 +1355,7 @@ if(!function_exists('tracedebug')) { function tracedebug($file,$var, $label = NULL) { $tmp_file = sys_get_temp_dir().DIRECTORY_SEPARATOR.$file; - + if ( ! is_writable($tmp_file)) return; $output = ''; $output .= date('d-m-y H:i'); if(!is_null($label)) {