<?php
defined('_VALID') or die('Restricted Access!');
class VFilesystem
{
protected $options;
protected $drivers = array('ftp', 'ssh');
public function __construct($options)
{
$this->options = $options;
}
public function getDriver()
{
VF::load('framework.filesystem.'.$this->options['driver']);
$filesystem_class = 'VFilesystem_Driver_'.$this->options['driver'];
return $filesystem = new $filesystem_class($this->options);
}
}