replace split by preg_split

This commit is contained in:
Sébastien Lucas 2014-02-11 21:00:43 +01:00
förälder e8088771c9
incheckning 42492b5cf2
1 ändrade filer med 2 tillägg och 2 borttagningar

Visa fil

@ -599,8 +599,8 @@ class EPub {
if ($b[0] == "/")
throw new InvalidArgumentException("Second path part must not start with " . $m_Separator);
$splittedA = split("/", $a);
$splittedB = split("/", $b);
$splittedA = preg_split("/", $a);
$splittedB = preg_split("/", $b);
$pathParts = array();
$mergedPath = array_merge($splittedA, $splittedB);