Skip to content
Permalink
Browse files

Merge branch 'alpha' of https://github.com/sergejey/majordomo into alpha

  • Loading branch information...
sergejey committed Sep 11, 2019
2 parents b122252 + e680b44 commit f39eb928d4f7449238a3f5263ad77ba6d3b35a68
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 f39eb92

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