Commit a22bcb5a authored by reynaldi adriantama's avatar reynaldi adriantama

commit Controller/ApiController.php

parent 341d7392
......@@ -1063,7 +1063,7 @@ class ApiController extends \Application\Master\GlobalActionController {
// print_r($nameweb->data);
$files = glob("public/folder-json/".$nameweb."/*.json");
// print_r($files);
// print_r($nameweb);die;
if($files){
foreach($files as $name){
......@@ -1116,9 +1116,7 @@ class ApiController extends \Application\Master\GlobalActionController {
foreach($behavbtn as $val){
// print_r($val);
$savebtn = $param->setbehavbtn($val, $arraypage, $nameweb, $dataarray, $arraybrowser);
// print_r($savebtn);
}
foreach($behavimg as $val){
......@@ -1136,9 +1134,9 @@ class ApiController extends \Application\Master\GlobalActionController {
$result->code = 1;
$result->info = 'cant found data';
}
// print_r($setuser);
if($setuser->code == 0 ){
// unlink($name);
unlink($name);
$result->code = $result::CODE_SUCCESS;
$result->info = $result::INFO_SUCCESS;
$result->data = $setuser;
......
......@@ -16,15 +16,10 @@ class UseranalyticsController extends \Application\Master\GlobalActionController
public function __construct($headScript)
{
$this->headScript = $headScript;
}
public function indexAction()
{
// $view = new ViewModel();
// $result = new Result();
// return $view;
}
public function listdataAction()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment