예제 #1
0
 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();
 }
예제 #2
0
파일: mod_webdav.php 프로젝트: poef/ariadne
 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");
 }