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] == "/") |         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 = split("/", $a); |         $splittedA = preg_split("/", $a); | ||||||
|         $splittedB = split("/", $b); |         $splittedB = preg_split("/", $b); | ||||||
| 
 | 
 | ||||||
|         $pathParts = array(); |         $pathParts = array(); | ||||||
|         $mergedPath = array_merge($splittedA, $splittedB); |         $mergedPath = array_merge($splittedA, $splittedB); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue