frontend/modules/elfind/src/elFinderVolumeLocalFileSystem.class.php
/**
     * Convert path related to root dir into real path
     *
     * @param  string $path file path
     * @return string
     * @author Dmitry (dio) Levashov
     **/
Convert path related to root dir into real path
@param  string $path file path
@return string
@author Dmitry (dio) Levashov
Convert path related to root dir into real path @param string $path file path @return string @author Dmitry ( dio ) Levashov
protected function _abspath($path)
    {
        if ($path === DIRECTORY_SEPARATOR) {
            return $this->root;
        } else {
            if ($path[0] === DIRECTORY_SEPARATOR) {
                return $path;
            } else {
                return $this->_joinPath($this->root, $path);
            }
        }
    }
protected function _abspath ( $ path ) { if ( $ path === DIRECTORY_SEPARATOR ) { return $ this -> root ; } else { if ( $ path [ 0 ] === DIRECTORY_SEPARATOR ) { return $ path ; } else { return $ this -> _joinPath ( $ this -> root , $ path ) ; } } }
Convert path related to root dir into real path
 @param  string $path file path
 @return string
 @author Dmitry (dio) Levashov
Convert path related to root dir into real path @param string $path file path @return string @author Dmitry ( dio ) Levashov
// for link