diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-02-21 18:57:47 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-02-21 18:57:47 +0000 |
| commit | 3cb31f78a497a52baa858227c1083caf7b04dde4 (patch) | |
| tree | 02cea70519e66578e79d964c873af188f6b646d8 /roundcubemail/program/include/main.inc | |
| parent | adfc6768a31bd883ee5f00c556b81e83395252d7 (diff) | |
#1485741: fix installer after some last changes
git-svn-id: https://svn.roundcube.net/trunk@2306 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/main.inc')
| -rw-r--r-- | roundcubemail/program/include/main.inc | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/roundcubemail/program/include/main.inc b/roundcubemail/program/include/main.inc index 5c055740f..928ab3531 100644 --- a/roundcubemail/program/include/main.inc +++ b/roundcubemail/program/include/main.inc @@ -1233,29 +1233,4 @@ class rcube_base_replacer } } -/** - * Explode quoted string - * - * @param string Delimiter expression string for preg_match() - * @param string Input string - */ -function rcube_explode_quoted_string($delimiter, $string) -{ - $result = array(); - $strlen = strlen($string); - - for ($q=$p=$i=0; $i < $strlen; $i++) { - if ($string[$i] == "\"" && $string[$i-1] != "\\") { - $q = $q ? false : true; - } - else if (!$q && preg_match("/$delimiter/", $string[$i])) { - $result[] = substr($string, $p, $i - $p); - $p = $i + 1; - } - } - - $result[] = substr($string, $p); - return $result; -} - ?> |
