[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)) {
- [Noalyss-commit] [noalyss] branch master updated (596bc85fd -> 4925941c8), Dany De Bontridder, 2023/06/03
- [Noalyss-commit] [noalyss] 03/06: Improve Debug appearance, Dany De Bontridder, 2023/06/03
- [Noalyss-commit] [noalyss] 02/06: Database return the name of the database, Dany De Bontridder, 2023/06/03
- [Noalyss-commit] [noalyss] 01/06: Debug : error is tracefile not enable,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 06/06: Documentation, Dany De Bontridder, 2023/06/03
- [Noalyss-commit] [noalyss] 04/06: Improve debug, Dany De Bontridder, 2023/06/03
- [Noalyss-commit] [noalyss] 05/06: Fix #0002291: Apparence Gestion Client Contact, Dany De Bontridder, 2023/06/03