diff options
author | Christian Schneider | 2009-04-22 12:49:48 +0000 |
---|---|---|
committer | Christian Schneider | 2009-04-22 12:49:48 +0000 |
commit | 3ef0c43348c8f735bab740e4a9b7bf8df26fbb00 (patch) | |
tree | 93c63c624528a013f0efcad223ac3b49cdf0f13f /it.class | |
parent | 414cc575912785ef15e4a26eb002bef1d0f739bf (diff) | |
download | itools-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.class | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } } |