From 9071d0579197c0e79d6c74230c1bab850a5306a5 Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Wed, 24 Jun 2020 16:05:03 +0200 Subject: Rev: 4660 --- mayor-orig/mayor-naplo/log/mayor-naplo.rev | 2 +- .../include/menu/private/hu_HU/module-naplo.php | 1 + .../www/policy/private/naplo/admin/debug-pre.php | 22 ++++++++++++++++++++++ .../www/policy/private/naplo/admin/debug.php | 11 +++++++++++ 4 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 mayor-orig/mayor-naplo/www/policy/private/naplo/admin/debug-pre.php create mode 100644 mayor-orig/mayor-naplo/www/policy/private/naplo/admin/debug.php (limited to 'mayor-orig/mayor-naplo') diff --git a/mayor-orig/mayor-naplo/log/mayor-naplo.rev b/mayor-orig/mayor-naplo/log/mayor-naplo.rev index 092b8f17..6af0687a 100644 --- a/mayor-orig/mayor-naplo/log/mayor-naplo.rev +++ b/mayor-orig/mayor-naplo/log/mayor-naplo.rev @@ -1 +1 @@ -4658 +4660 diff --git a/mayor-orig/mayor-naplo/www/include/menu/private/hu_HU/module-naplo.php b/mayor-orig/mayor-naplo/www/include/menu/private/hu_HU/module-naplo.php index 5d998779..25907716 100644 --- a/mayor-orig/mayor-naplo/www/include/menu/private/hu_HU/module-naplo.php +++ b/mayor-orig/mayor-naplo/www/include/menu/private/hu_HU/module-naplo.php @@ -570,6 +570,7 @@ 'szuloiAzonositok' => array(array('txt' => 'Szülői azonosítók generálása','icon'=>'icon-adult')), 'rpcPrivilege' => array(array('txt' => 'RPC jogosultságok')), 'kréta magic' => array(array('txt' => 'Kréta 2 MaYoR', 'icon'=>'icon-asterisk', 'url'=>'index.php?page=naplo&sub=import&f=tantargyFelosztas')), + 'debug' => array(array('txt' => 'Rendszerinformáció', 'icon'=>'icon-cog')), ); $MENU['modules']['naplo']['sub']['hirnok'] = array( 'hirnok' =>array(array('txt' => 'Hírnök', 'icon'=>'icon-bullhorn')), diff --git a/mayor-orig/mayor-naplo/www/policy/private/naplo/admin/debug-pre.php b/mayor-orig/mayor-naplo/www/policy/private/naplo/admin/debug-pre.php new file mode 100644 index 00000000..de0924bd --- /dev/null +++ b/mayor-orig/mayor-naplo/www/policy/private/naplo/admin/debug-pre.php @@ -0,0 +1,22 @@ +'naplo','fb'=>'debug',result=>'indexed')); + $ADAT['debug_result']['sql_server']['sql_version']=db_query('SELECT VERSION()',array('modul'=>'naplo','fb'=>'debug',result=>'indexed')); + $ADAT['debug_result']['tex_cli'] = @shell_exec('tex --version'); + $ADAT['debug_result']['xetex_cli'] = @shell_exec('xetex --version'); + $ADAT['debug_result']['constants'] = @get_defined_constants(); + + @ini_set('xdebug.var_display_max_depth', '3'); + @ini_set('xdebug.var_display_max_children', '4096'); + @ini_set('xdebug.var_display_max_data', '4096'); + + } +?> \ No newline at end of file diff --git a/mayor-orig/mayor-naplo/www/policy/private/naplo/admin/debug.php b/mayor-orig/mayor-naplo/www/policy/private/naplo/admin/debug.php new file mode 100644 index 00000000..f20c3e5f --- /dev/null +++ b/mayor-orig/mayor-naplo/www/policy/private/naplo/admin/debug.php @@ -0,0 +1,11 @@ + $value) { + echo '