public function base_path($path = null)
    {
        return empty($path) ? $this->path : $this->path . $path;
    }
public function base_path($path = null)
    {
        return empty($path) ? $this->path : $this->path . $path;
    }
public function base_path ( $ path = null ) { return empty ( $ path ) ? $ this -> path : $ this -> path . $ path ; }
To get application base directory path

@param null $path

@return string
To get application base directory path