public function __construct($sBasePath) { $this->sBasePath = $sBasePath; parent::__construct(); $this->path = implode('/', Manager::getRequestPath()); $this->base_uri = LinkUtil::absoluteLink(''); $this->uri = LinkUtil::absoluteLink(LinkUtil::link()); $this->_SERVER['SCRIPT_NAME'] = LinkUtil::link(); }
public function __construct(&$store, $config) { global $ariadne; debug("webdav: initting server"); parent::__construct(); $this->store = $store; $this->config = $config; $this->root =& $config['root']; debug("webdav: loading modules"); $this->modules = array(); include_once $ariadne . "/modules/mod_webdav/files.php"; $this->modules['files'] = new WebDAV_files($this); debug("webdav: init done"); }