Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
useranalytics
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
reynaldi adriantama
useranalytics
Commits
a22bcb5a
Commit
a22bcb5a
authored
Oct 02, 2020
by
reynaldi adriantama
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit Controller/ApiController.php
parent
341d7392
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
10 deletions
+3
-10
module/Application/src/Controller/ApiController.php
module/Application/src/Controller/ApiController.php
+3
-5
module/Application/src/Controller/UseranalyticsController.php
...le/Application/src/Controller/UseranalyticsController.php
+0
-5
No files found.
module/Application/src/Controller/ApiController.php
View file @
a22bcb5a
...
@@ -1063,7 +1063,7 @@ class ApiController extends \Application\Master\GlobalActionController {
...
@@ -1063,7 +1063,7 @@ class ApiController extends \Application\Master\GlobalActionController {
// print_r($nameweb->data);
// print_r($nameweb->data);
$files
=
glob
(
"public/folder-json/"
.
$nameweb
.
"/*.json"
);
$files
=
glob
(
"public/folder-json/"
.
$nameweb
.
"/*.json"
);
// print_r($
files)
;
// print_r($
nameweb);die
;
if
(
$files
){
if
(
$files
){
foreach
(
$files
as
$name
){
foreach
(
$files
as
$name
){
...
@@ -1116,9 +1116,7 @@ class ApiController extends \Application\Master\GlobalActionController {
...
@@ -1116,9 +1116,7 @@ class ApiController extends \Application\Master\GlobalActionController {
foreach
(
$behavbtn
as
$val
){
foreach
(
$behavbtn
as
$val
){
// print_r($val);
$savebtn
=
$param
->
setbehavbtn
(
$val
,
$arraypage
,
$nameweb
,
$dataarray
,
$arraybrowser
);
$savebtn
=
$param
->
setbehavbtn
(
$val
,
$arraypage
,
$nameweb
,
$dataarray
,
$arraybrowser
);
// print_r($savebtn);
}
}
foreach
(
$behavimg
as
$val
){
foreach
(
$behavimg
as
$val
){
...
@@ -1136,9 +1134,9 @@ class ApiController extends \Application\Master\GlobalActionController {
...
@@ -1136,9 +1134,9 @@ class ApiController extends \Application\Master\GlobalActionController {
$result
->
code
=
1
;
$result
->
code
=
1
;
$result
->
info
=
'cant found data'
;
$result
->
info
=
'cant found data'
;
}
}
// print_r($setuser);
if
(
$setuser
->
code
==
0
){
if
(
$setuser
->
code
==
0
){
//
unlink($name);
unlink
(
$name
);
$result
->
code
=
$result
::
CODE_SUCCESS
;
$result
->
code
=
$result
::
CODE_SUCCESS
;
$result
->
info
=
$result
::
INFO_SUCCESS
;
$result
->
info
=
$result
::
INFO_SUCCESS
;
$result
->
data
=
$setuser
;
$result
->
data
=
$setuser
;
...
...
module/Application/src/Controller/UseranalyticsController.php
View file @
a22bcb5a
...
@@ -16,15 +16,10 @@ class UseranalyticsController extends \Application\Master\GlobalActionController
...
@@ -16,15 +16,10 @@ class UseranalyticsController extends \Application\Master\GlobalActionController
public
function
__construct
(
$headScript
)
public
function
__construct
(
$headScript
)
{
{
$this
->
headScript
=
$headScript
;
$this
->
headScript
=
$headScript
;
}
}
public
function
indexAction
()
public
function
indexAction
()
{
{
// $view = new ViewModel();
// $result = new Result();
// return $view;
}
}
public
function
listdataAction
()
public
function
listdataAction
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment