This commit is contained in:
Sébastien Lucas 2014-02-11 21:05:39 +01:00
parent 42492b5cf2
commit 9785d229de

View file

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