public function getDirs($path='')
    {
        $dirpath = str_replace('\\', '/', $this->config['upload_path'] . '/' . str_replace($this->config['upload_path'], '', $path));
        $data = $this->obj->getDirs($dirpath);
        
        foreach ($data as $k => $v) {
            $v = str_replace(array($this->config['upload_path'], '\\'), array('', '/'), $v);
            $data[$k] = array('path' => $v, 'val' => $v);
        }
        
        if(empty($data)){
          $data[0] = array('path'=>$path, 'val'=>$path);
        }
        
        return $data;
    }