×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Text
Posted by: Jurii Alex
Added: Jan 26, 2017 8:16 AM
Modified: Jan 26, 2017 8:18 AM
Views: 2226
  1. /**
  2.      * @param $path
  3.      *
  4.      * @return mixed
  5.      */
  6.     protected function setDirSep($path)
  7.     {
  8.         return str_replace(['\\', '/'], DIRECTORY_SEPARATOR, $path);
  9.     }