Logs Viewer

This commit is contained in:
Ibnu Maksum
2023-10-16 15:06:51 +07:00
parent 700e861197
commit f806960ead
4 changed files with 88 additions and 1 deletions

View File

@ -116,7 +116,7 @@ try {
$ui->setConfigDir(File::pathFixer('ui/conf/'));
$ui->setCacheDir(File::pathFixer('ui/cache/'));
$ui->assign("error_title", "PHPNuxBill Crash");
$ui->assign("error_message", $e->getMessage());
$ui->assign("error_message", $e->getMessage() . '<br><pre>' . $e->getTraceAsString() . '</pre>');
$ui->display('router-error.tpl');
die();
}

View File

@ -405,3 +405,4 @@ $_L['Failed_to_create_PaymeTrust_transaction'] = 'Failed to create PaymeTrust tr
$_L['Location'] = 'Location';
$_L['Radius_Plans'] = 'Radius Plans';
$_L['Change_title_in_user_Plan_order'] = 'Change title in user Plan order';
$_L['Logs'] = 'Logs';