"MDL-16908, remove search and logout button"

This commit is contained in:
dongsheng 2008-10-22 02:50:32 +00:00
parent ecc3137831
commit b2b3fd82cd

View File

@ -50,7 +50,7 @@ class repository_webdav extends repository {
$buffer = '';
$this->wd->open();
$this->wd->get($url, $buffer);
$fp = fopen($dir.$file, 'w');
$fp = fopen($dir.$file, 'wb');
fwrite($fp, $buffer);
return $dir.$file;
}
@ -63,6 +63,8 @@ class repository_webdav extends repository {
$ret = array();
$ret['dynload'] = true;
$ret['list'] = array();
$ret['nosearch'] = true;
$ret['nologin'] = true;
$ret['path'] = array(array('name'=>'Root', 'path'=>0));
$this->wd->open();
if (empty($path)) {