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