From 6ef6e7d23d0ced5df47ccc03d4fb6adc5f5f9150 Mon Sep 17 00:00:00 2001 From: elvanowen <vanzz_95@hotmail.com> Date: Mon, 16 May 2016 17:49:38 +0700 Subject: [PATCH] Everything --- CoefficientEditor/index.php | 5 ++--- salaryman/app/controllers/CoefficientsController.php | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/CoefficientEditor/index.php b/CoefficientEditor/index.php index 46c5fa9..57840e7 100644 --- a/CoefficientEditor/index.php +++ b/CoefficientEditor/index.php @@ -111,12 +111,11 @@ $app->put('/changeCoefficient/gajiPokok', function() use ($app) { } } - var_dump($temp); - $response = new Response(); $response->setJsonContent( array( - 'status' => 'OK' + 'status' => 'OK', + 'debug' => $temp ) ); diff --git a/salaryman/app/controllers/CoefficientsController.php b/salaryman/app/controllers/CoefficientsController.php index d7a475f..3579620 100644 --- a/salaryman/app/controllers/CoefficientsController.php +++ b/salaryman/app/controllers/CoefficientsController.php @@ -178,7 +178,6 @@ class CoefficientsController extends ControllerBase $debugger = new Debugger($this); $debugger - ->addMessage($data) ->addMessage($result) ->stopProgram() ->showMessage(); -- GitLab