projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecc3137
)
"MDL-16908, remove search and logout button"
author
dongsheng
<dongsheng>
Wed, 22 Oct 2008 02:50:32 +0000
(
02:50
+0000)
committer
dongsheng
<dongsheng>
Wed, 22 Oct 2008 02:50:32 +0000
(
02:50
+0000)
repository/webdav/repository.class.php
patch
|
blob
|
history
diff --git
a/repository/webdav/repository.class.php
b/repository/webdav/repository.class.php
index adb44364e122510cae9f91202342c65053d132a2..2ad86383da8a74ddae3a60454ad9c77408b6cc0a 100644
(file)
--- a/
repository/webdav/repository.class.php
+++ b/
repository/webdav/repository.class.php
@@
-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, 'w
b
');
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)) {