Improve Debug info

This commit is contained in:
sparkyx 2023-03-17 09:30:09 +01:00
parent 3d659f402e
commit 01bdcc9bea

View file

@ -7,7 +7,7 @@ require_once NOALYSS_INCLUDE.'/lib/ac_common.php';
require_once NOALYSS_INCLUDE.'/constant.php'; require_once NOALYSS_INCLUDE.'/constant.php';
require_once NOALYSS_INCLUDE.'/lib/function_javascript.php'; require_once NOALYSS_INCLUDE.'/lib/function_javascript.php';
require_once NOALYSS_INCLUDE.'/constant.security.php'; require_once NOALYSS_INCLUDE.'/constant.security.php';
\Noalyss\Dbg::echo_var(1,__FILE__);
/** /**
* included from do.php + extension_choice.inc.php * included from do.php + extension_choice.inc.php
*/ */
@ -29,6 +29,8 @@ if ($ext->can_request($g_user->login)==-1)
} }
if ( ! file_exists(NOALYSS_PLUGIN.'/'.trim($ext->me_file))) if ( ! file_exists(NOALYSS_PLUGIN.'/'.trim($ext->me_file)))
{ {
echo \Noalyss\Dbg::echo_var(1,"not found ".NOALYSS_PLUGIN.'/'.trim($ext->me_file));
alert(j(_("Ce fichier n'existe pas "))); alert(j(_("Ce fichier n'existe pas ")));
return; return;
} }