noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 01/06: Debug : error is tracefile not enable


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 01/06: Debug : error is tracefile not enable
Date: Sat, 3 Jun 2023 10:30:26 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit f3176fd6ab110f5a2dc9401c375c30d9f74a35fd
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Fri May 19 17:20:27 2023 +0200

    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)) {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]