diff --git a/Application/Sdk/Controller/SpendController.class.php b/Application/Sdk/Controller/SpendController.class.php index 45e606255..3ab04ae10 100644 --- a/Application/Sdk/Controller/SpendController.class.php +++ b/Application/Sdk/Controller/SpendController.class.php @@ -146,6 +146,9 @@ class SpendController extends Controller { $this->display ( 'pay_success' ); } public function pay_error() { + $Scheme = file_get_contents ( "./Application/Sdk/Scheme/" . $_GET ['game_id'] . ".txt" ); + + $this->assign ('Scheme', $Scheme?$Scheme:'txplatformsdk'); $this->display (); } public function notice($user_id = 0, $game_id = 0, $msg = '') { diff --git a/Application/Sdk/View/default/Spend/pay_error.html b/Application/Sdk/View/default/Spend/pay_error.html index e044ca8a7..380872648 100644 --- a/Application/Sdk/View/default/Spend/pay_error.html +++ b/Application/Sdk/View/default/Spend/pay_error.html @@ -41,6 +41,7 @@ border: 1px solid #999;