Replace deprecated instr function with str_contains and add include/global.php for central configurations.

This commit is contained in:
2025-08-13 09:38:16 +02:00
parent 676089950d
commit 5d01e6da14
8 changed files with 301 additions and 156 deletions

View File

@@ -1,13 +1,5 @@
<?php
function instr($string, $search){
if (strpos($string, $search) !== false) {
return true;
} else {
return false;
}
}
function PostJson($url, $content){
$curl = curl_init($url);
curl_setopt($curl, CURLOPT_HEADER, false);