We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3fd456 commit 75febbeCopy full SHA for 75febbe
api.php
@@ -2638,8 +2638,7 @@ public function executeCommand() {
2638
if ($this->settings['origin']) {
2639
$this->allowOrigin($this->settings['origin'],$this->settings['allow_origin']);
2640
}
2641
- $currentScriptFilename = basename(__FILE__);
2642
- if (!$this->settings['request'] || $this->settings['request'] == $currentScriptFilename) {
+ if (!$this->settings['request']) {
2643
$this->swagger($this->settings);
2644
} else {
2645
$parameters = $this->getParameters($this->settings);
0 commit comments