Remove the PHP 5.3 deprecated split function.

This commit is contained in:
Loic d'Anterroches
2009-09-24 20:40:22 +02:00
parent 157819195b
commit 838645463d
15 changed files with 23 additions and 23 deletions

View File

@@ -210,9 +210,9 @@ class IDF_Project extends Pluf_Model
$conf = $this->getConf();
$tags = array();
foreach (preg_split("/\015\012|\015|\012/", $conf->getVal($cfg_key, $default), -1, PREG_SPLIT_NO_EMPTY) as $s) {
$_s = split('=', $s, 2);
$_s = explode('=', $s, 2);
$v = trim($_s[0]);
$_v = split(':', $v, 2);
$_v = explode(':', $v, 2);
if (count($_v) > 1) {
$class = trim($_v[0]);
$name = trim($_v[1]);