From 3ef0c43348c8f735bab740e4a9b7bf8df26fbb00 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Wed, 22 Apr 2009 12:49:48 +0000 Subject: Get rid of ereg/split, replaced by preg equivalents --- it.class | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'it.class') diff --git a/it.class b/it.class index 13e286a..d8e4098 100644 --- a/it.class +++ b/it.class @@ -599,9 +599,9 @@ function getopt($helplines) if ($result['debug']) { - foreach (split('[.,]', $result['debug']) as $ultrad) + foreach (preg_split('/[.,]/', $result['debug']) as $ultrad) { - $ultravar = split('[-=:]', $ultrad); + $ultravar = preg_split('/[-=:]/', $ultrad); $GLOBALS["debug_$ultravar[0]"] = isset($ultravar[1]) ? $ultravar[1] : 1; } } -- cgit v1.2.3