diff --git a/init.php b/init.php index f842e747..80c17700 100644 --- a/init.php +++ b/init.php @@ -47,7 +47,8 @@ if (!file_exists($root_path . 'config.php')) { } if (!file_exists($root_path . File::pathFixer('system/orm.php'))) { - die($root_path . "orm.php file not found"); + echo $root_path . "orm.php file not found"; + die(); } $DEVICE_PATH = $root_path . File::pathFixer('system/devices'); @@ -59,7 +60,8 @@ $PAYMENTGATEWAY_PATH = $root_path . File::pathFixer('system/paymentgateway'); $UI_PATH = 'ui'; if (!file_exists($UPLOAD_PATH . File::pathFixer('/notifications.default.json'))) { - die($UPLOAD_PATH . File::pathFixer("/notifications.default.json file not found")); + echo $UPLOAD_PATH . File::pathFixer("/notifications.default.json file not found"); + die(); } require_once $root_path . 'config.php'; diff --git a/radius.php b/radius.php index 67a8475a..915a7bd0 100644 --- a/radius.php +++ b/radius.php @@ -434,5 +434,6 @@ function show_radius_result($array, $code = 200) header("HTTP/1.1 204 No Content"); die(); } - die(json_encode($array)); + echo json_encode($array); + die(); } diff --git a/system/lan/english.json b/system/lan/english.json index f991688d..4bdcdcca 100644 --- a/system/lan/english.json +++ b/system/lan/english.json @@ -805,5 +805,29 @@ "For_Registration_and_Update_Phone_Number": "For Registration and Update Phone Number", "Voucher_Only": "Voucher Only", "No_Registration": "No Registration", - "Allow_Registration": "Allow Registration" + "Allow_Registration": "Allow Registration", + "Prepaid": "Prepaid", + "Postpaid": "Postpaid", + "Not_Active": "Not Active", + "New_Service_Package": "New Service Package", + "Limit": "Limit", + "Create_expired_Internet_Package": "Create expired Internet Package", + "When_customer_expired__you_can_move_it_to_Expired_Internet_Package": "When customer expired, you can move it to Expired Internet Package", + "Disable": "Disable", + "Create_expired_Internet_Plan": "Create expired Internet Plan", + "When_customer_expired__you_can_move_it_to_Expired_Internet_Plan": "When customer expired, you can move it to Expired Internet Plan", + "Payment_Method": "Payment Method", + "Created_on": "Created on", + "Expires_on": "Expires on", + "Edit_Service_Package": "Edit Service Package", + "Package_Type": "Package Type", + "Package_Price": "Package Price", + "Price_Before_Discount": "Price Before Discount", + "For_Discount_Rate__this_is_price_before_get_discount__must_be_more_expensive_with_real_price": "For Discount Rate, this is price before get discount, must be more expensive with real price", + "Package_Validity": "Package Validity", + "Expired_Internet_Package": "Expired Internet Package", + "Default___Remove_Customer": "Default - Remove Customer", + "When_Expired__customer_will_be_move_to_selected_internet_package": "When Expired, customer will be move to selected internet package", + "on_login___on_up": "on-login \/ on-up", + "on_logout___on_down": "on-logout \/ on-down" } \ No newline at end of file diff --git a/ui/ui/hotspot-edit.tpl b/ui/ui/hotspot-edit.tpl index 86fe3c42..cdf9b055 100644 --- a/ui/ui/hotspot-edit.tpl +++ b/ui/ui/hotspot-edit.tpl @@ -174,7 +174,7 @@
{Lang::T('For Discount Rate, this is price before get discount, must be more expensive with real price')}
{Lang::T('For Discount Rate, this is price before get discount, must be more expensive with real price')}
{Lang::T('For Discount Rate, this is price before get discount, must be more expensive with real price')}