Debug : error is tracefile not enable

This commit is contained in:
sparkyx 2023-05-19 17:20:27 +02:00
parent d2d8c361f8
commit f3176fd6ab

View file

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