From abb7ccfc4a25342f6ddc1c9886eb917fb5c3c00f Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 7 Oct 2008 02:55:44 +0000 Subject: Add php4 function stripos() which is found in php5 --- packages/autoconfigbackup/crypt_acb.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'packages/autoconfigbackup/crypt_acb.php') diff --git a/packages/autoconfigbackup/crypt_acb.php b/packages/autoconfigbackup/crypt_acb.php index ba12af80..2fa5fc64 100644 --- a/packages/autoconfigbackup/crypt_acb.php +++ b/packages/autoconfigbackup/crypt_acb.php @@ -103,5 +103,9 @@ return true; } + + function stripos($str,$needle) { + return strpos(strtolower($str), strtolower($needle)); + } ?> \ No newline at end of file -- cgit v1.2.3