Skip to content

Commit

Permalink
some adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
mevdschee committed Mar 17, 2017
1 parent c3fd456 commit 75febbe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api.php
Expand Up @@ -2638,8 +2638,7 @@ public function executeCommand() {
if ($this->settings['origin']) {
$this->allowOrigin($this->settings['origin'],$this->settings['allow_origin']);
}
$currentScriptFilename = basename(__FILE__);
if (!$this->settings['request'] || $this->settings['request'] == $currentScriptFilename) {
if (!$this->settings['request']) {
$this->swagger($this->settings);
} else {
$parameters = $this->getParameters($this->settings);
Expand Down

0 comments on commit 75febbe

Please sign in to comment.