summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
authorChristian Schneider2009-04-22 12:49:48 +0000
committerChristian Schneider2009-04-22 12:49:48 +0000
commit3ef0c43348c8f735bab740e4a9b7bf8df26fbb00 (patch)
tree93c63c624528a013f0efcad223ac3b49cdf0f13f /it.class
parent414cc575912785ef15e4a26eb002bef1d0f739bf (diff)
downloaditools-3ef0c43348c8f735bab740e4a9b7bf8df26fbb00.tar.gz
itools-3ef0c43348c8f735bab740e4a9b7bf8df26fbb00.tar.bz2
itools-3ef0c43348c8f735bab740e4a9b7bf8df26fbb00.zip
Get rid of ereg/split, replaced by preg equivalents
Diffstat (limited to 'it.class')
-rw-r--r--it.class4
1 files changed, 2 insertions, 2 deletions
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;
}
}