public function get_root_path($code){
    /** @var array $dir The directory configuration */
    $dir = $this->dir($code);
    if ( $dir ){
      $path = $this->decipher_path(bbn\str::parse_path($dir['bbn_path'].(!empty($dir['path']) ? '/' . $dir['path'] : '')));

      $r = bbn\str::parse_path($path.'/');
      return $r;
    }
    return false;
  }