public function getBasePath($absolute = false)
    {
        $path = array();
        if ($absolute) {
            if (($basePath = Yii::getPathOfAlias($this->basePath)) === false && is_dir($this->basePath)) {
                $basePath = realpath($this->basePath);
            }
            $path[] = $basePath;
        }
        $path[] = $this->fileDir;
        return implode('/', $path);
    }
public function getBasePath($absolute = false)
    {
        $path = array();
        if ($absolute) {
            if (($basePath = Yii::getPathOfAlias($this->basePath)) === false && is_dir($this->basePath)) {
                $basePath = realpath($this->basePath);
            }
            $path[] = $basePath;
        }
        $path[] = $this->fileDir;
        return implode('/', $path);
    }
public function getBasePath ( $ absolute = false ) { $ path = array ( ) ; if ( $ absolute ) { if ( ( $ basePath = Yii :: getPathOfAlias ( $ this -> basePath ) ) === false && is_dir ( $ this -> basePath ) ) { $ basePath = realpath ( $ this -> basePath ) ; } $ path [ ] = $ basePath ; } $ path [ ] = $ this -> fileDir ; return implode ( '/' , $ path ) ; }
Returns the path to the files folder.
@param boolean $absolute whether to return an absolute path.
@return string the path.
Returns the path to the files folder .