protected function _findPath($path)
    {
        $path = $this->_unifyPath($path);
        $dirs = $this->_dirs;

        $file = null;

        foreach ($dirs as $dir) {
            if (is_readable(realpath($dir.DS.$path))) {
                $file = $dir.DS.$path;
                break;
            }
        }

        return $file;
    }
protected function _findPath($path)
    {
        $path = $this->_unifyPath($path);
        $dirs = $this->_dirs;

        $file = null;

        foreach ($dirs as $dir) {
            if (is_readable(realpath($dir.DS.$path))) {
                $file = $dir.DS.$path;
                break;
            }
        }

        return $file;
    }
protected function _findPath ( $ path ) { $ path = $ this -> _unifyPath ( $ path ) ; $ dirs = $ this -> _dirs ; $ file = null ; foreach ( $ dirs as $ dir ) { if ( is_readable ( realpath ( $ dir . DS . $ path ) ) ) { $ file = $ dir . DS . $ path ; break ; } } return $ file ; }
Search for a relative path within the search directories.

@param string $path Relative path

@return string
Search for a relative path within the search directories .