Skip to content
Permalink
Browse files

Merge pull request #623 from london89/patch-2

Update api.php
  • Loading branch information...
sergejey committed Sep 11, 2019
2 parents b3ba737 + c16bc46 commit e680b44151487b65e6e87a6f288d017189929a7a
Showing with 2 additions and 2 deletions.
  1. +2 −2 api.php
@@ -1,6 +1,6 @@
<?php
if ($argv[0]!='') {
if (isset($argv[0]) && $argv[0]!='') {
set_time_limit(60);
ignore_user_abort(1);
foreach($argv as $param) {
@@ -395,4 +395,4 @@ function apiShutdown() {
} elseif (isset($result['passed']) && $result['passed']>5) {
DebMes("Result [".$result['passed']."] of : ".$_SERVER['REQUEST_URI'].' '.json_encode($result),'api_slow');
}
}
}

0 comments on commit e680b44

Please sign in to comment.
You can’t perform that action at this time.