File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -74,9 +74,9 @@ public function render($tplPath = NULL) {
74
74
$ apiUrl = trim ($ baseUrl , '/ ' ) . '/ ' . trim ($ rules ['url ' ], '/ ' );
75
75
unset($ rules ['url ' ]);
76
76
}
77
- else if (!is_int ($ action )){
78
- $ apiUrl = trim ($ baseUrl , '/ ' ) . '/ ' . trim ($ action , '/ ' );
79
- }
77
+ // else if(!is_int($action)){
78
+ // $apiUrl = trim($baseUrl, '/') . '/' . trim($action, '/');
79
+ // }
80
80
if (isset ($ rules ['return ' ])) {
81
81
$ returns = $ rules ['return ' ];
82
82
unset($ rules ['return ' ]);
Original file line number Diff line number Diff line change @@ -101,9 +101,9 @@ public function render($tplPath = NULL) {
101
101
if (isset ($ mValue ['url ' ])){
102
102
$ apiUrl = $ mValue ['url ' ];
103
103
}
104
- else if (!is_int ($ mkey )){
105
- $ apiUrl = $ mkey ;
106
- }
104
+ // else if(!is_int($mkey)){
105
+ // $apiUrl = $mkey;
106
+ // }
107
107
if (isset ($ mValue ['title ' ])){
108
108
$ title = $ mValue ['title ' ];
109
109
}
You can’t perform that action at this time.
0 commit comments