replace split by preg_split
This commit is contained in:
		
							parent
							
								
									e8088771c9
								
							
						
					
					
						commit
						42492b5cf2
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -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); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue