mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Bugtracker #4169 - Possible fix for redirect not working
This commit is contained in:
@@ -33,12 +33,9 @@ if (!function_exists('file_put_contents')) {
|
||||
|
||||
|
||||
if (!function_exists('stripos')) {
|
||||
function stripos($haystack, $needle) {
|
||||
$parts = explode(strtolower($needle), strtolower($haystack), 2);
|
||||
if (count($parts) == 1) {
|
||||
return false;
|
||||
}
|
||||
return strlen($parts[0]);
|
||||
function stripos($str,$needle,$offset=0)
|
||||
{
|
||||
return strpos(strtolower($str), strtolower($needle), $offset);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user