From 0f39d9c18710b92b6e7ce6b01f52ff6029460134 Mon Sep 17 00:00:00 2001 From: lolcat Date: Fri, 29 Mar 2024 05:15:53 -0400 Subject: error handling for invalid pagetype --- lib/backend.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/backend.php') diff --git a/lib/backend.php b/lib/backend.php index c76a0be..8033633 100644 --- a/lib/backend.php +++ b/lib/backend.php @@ -32,6 +32,8 @@ class backend{ $proxylist = array_values($proxylist); + echo $proxy_index_raw % count($proxylist); + return $proxylist[$proxy_index_raw % count($proxylist)]; } -- cgit v1.2.3