original_string: public static function clean_path($path)
  	{
  		static $search = array(APPPATH, COREPATH, PKGPATH, DOCROOT, '\\');
  		static $replace = array('APPPATH/', 'COREPATH/', 'PKGPATH/', 'DOCROOT/', '/');
  		return str_ireplace($search, $replace, $path);
  	}
code: public static function clean_path($path)
  	{
  		static $search = array(APPPATH, COREPATH, PKGPATH, DOCROOT, '\\');
  		static $replace = array('APPPATH/', 'COREPATH/', 'PKGPATH/', 'DOCROOT/', '/');
  		return str_ireplace($search, $replace, $path);
  	}
code_tokens: public static function clean_path ( $ path ) { static $ search = array ( APPPATH , COREPATH , PKGPATH , DOCROOT , '\\' ) ; static $ replace = array ( 'APPPATH/' , 'COREPATH/' , 'PKGPATH/' , 'DOCROOT/' , '/' ) ; return str_ireplace ( $ search , $ replace , $ path ) ; }
docstring: Cleans a file path so that it does not contain absolute file paths.
  
  @param   string  the filepath
  @return  string  the clean path
docstring_tokens: Cleans a file path so that it does not contain absolute file paths .