diff options
author | lolcat <will@lolcat.ca> | 2024-03-29 05:15:53 -0400 |
---|---|---|
committer | lolcat <will@lolcat.ca> | 2024-03-29 05:15:53 -0400 |
commit | 0f39d9c18710b92b6e7ce6b01f52ff6029460134 (patch) | |
tree | d17681d36fab219679969af1e8c8a38c7921cdcb /lib | |
parent | ba7ed59dc5b0ad29c704c699947e45bbdaa3884f (diff) |
error handling for invalid pagetype
Diffstat (limited to 'lib')
-rw-r--r-- | lib/backend.php | 2 |
1 files changed, 2 insertions, 0 deletions
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)]; } |