Fix service warning
This commit is contained in:
parent
904e3102d3
commit
44c1dc8153
|
@ -17,7 +17,7 @@ try {
|
|||
if (!$pathInfo && !isset($_GET['service'])) {
|
||||
header('HTTP/1.0 404 Not Found');
|
||||
exit;
|
||||
} elseif ($_GET['service']) {
|
||||
} elseif (isset($_GET['service'])) {
|
||||
$service = $_GET['service'];
|
||||
} else {
|
||||
$pathInfo = trim($pathInfo, '/');
|
||||
|
|
Loading…
Reference in New Issue