Update index.php

This commit is contained in:
Akkariin Meiko 2020-01-18 07:28:04 +08:00 committed by GitHub
parent a562e2887a
commit 1a9c13cf4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,7 +121,7 @@ if(isset($_GET['apitoken']) && $_GET['apitoken'] == API_TOKEN) {
} }
CheckSuccessful("Proxy exist"); CheckSuccessful("Proxy exist");
} else { } else {
ServerNotFound("Proxy not found" . "SELECT * FROM `proxies` WHERE `username`='{$username}' AND `remote_port`='{$remotePort}' AND `proxy_type`='{$proxyType}'"); ServerNotFound("Proxy not found");
} }
} else { } else {
ServerBadRequest("Invalid request"); ServerBadRequest("Invalid request");