diff --git a/system/boot.php b/system/boot.php
index 85a83f18..ae52e935 100644
--- a/system/boot.php
+++ b/system/boot.php
@@ -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() . '
' . $e->getTraceAsString() . ''); $ui->display('router-error.tpl'); die(); } diff --git a/system/lan/english/common.lan.php b/system/lan/english/common.lan.php index 48ba9e92..8faca48c 100644 --- a/system/lan/english/common.lan.php +++ b/system/lan/english/common.lan.php @@ -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'; diff --git a/ui/ui/logs.tpl b/ui/ui/logs.tpl new file mode 100644 index 00000000..a5e40ecd --- /dev/null +++ b/ui/ui/logs.tpl @@ -0,0 +1,71 @@ +{include file="sections/header.tpl"} + +
# | +{$_L['Pool_Name']} | +{$_L['Range_IP']} | +{$_L['Routers']} | +{$_L['Manage']} | +
---|---|---|---|---|
{$no++} | +{$ds['pool_name']} | +{$ds['range_ip']} | +{$ds['routers']} | ++ {$_L['Edit']} + {$_L['Delete']} + | +