Skip to content

Commit 75febbe

Browse files
committed
some adjustments
1 parent c3fd456 commit 75febbe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

api.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -2638,8 +2638,7 @@ public function executeCommand() {
26382638
if ($this->settings['origin']) {
26392639
$this->allowOrigin($this->settings['origin'],$this->settings['allow_origin']);
26402640
}
2641-
$currentScriptFilename = basename(__FILE__);
2642-
if (!$this->settings['request'] || $this->settings['request'] == $currentScriptFilename) {
2641+
if (!$this->settings['request']) {
26432642
$this->swagger($this->settings);
26442643
} else {
26452644
$parameters = $this->getParameters($this->settings);

0 commit comments

Comments
 (0)