Update index.php
Some checks failed
Ruff / ruff (push) Has been cancelled

This commit is contained in:
Namhyeon Go 2024-07-15 00:28:51 +09:00 committed by GitHub
parent 486b12f643
commit 67dc16d976
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,10 +6,10 @@
* Namhyeon Go (Catswords Research) <abuse@catswords.net> * Namhyeon Go (Catswords Research) <abuse@catswords.net>
* https://github.com/gnh1201/caterpillar * https://github.com/gnh1201/caterpillar
* Created at: 2022-10-06 * Created at: 2022-10-06
* Updated at: 2024-06-25 * Updated at: 2024-07-15
*/ */
define("PHP_HTTPPROXY_VERSION", "0.1.5.23"); define("PHP_HTTPPROXY_VERSION", "0.1.5.24");
define("DEFAULT_SOCKET_TIMEOUT", 1); define("DEFAULT_SOCKET_TIMEOUT", 1);
define("STATEFUL_SOCKET_TIMEOUT", 30); define("STATEFUL_SOCKET_TIMEOUT", 30);
define("MAX_EXECUTION_TIME", 0); define("MAX_EXECUTION_TIME", 0);
@ -294,7 +294,7 @@ function relay_mysql_query($params, $mysqli) {
case "insert": case "insert":
$success = (bool) $query_result; $success = (bool) $query_result;
$result['last_id'] = @$mysqli->insert_id(); $result['last_id'] = @$mysqli->insert_id;
break; break;
default: default: