Changeset 9287efa097e9bcfcba4e7a1f59c4782f94e0eac2
- Timestamp:
- 02/04/12 10:57:21 (4 months ago)
- Author:
- Xemle <xemle@phtagr.org>
- Children:
- 52c9172778e5d153c7db8d0957fe720d413134cb
- Parents:
- 33295e2f6bf20f39b0391fe58f4b96f0d18e8667
- git-committer:
- Xemle <xemle@phtagr.org> / 2012-02-04T10:57:21Z+0100
- Message:
-
Fix Webdav route
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
ra42ace5
|
r9287efa
|
|
| 27 | 27 | */ |
| 28 | 28 | Router::connect('/', array('controller' => 'home', 'action' => 'index')); |
| | 29 | Router::connect('/webdav/*', array('controller' => 'webdav', 'action' => 'index')); |
| 29 | 30 | /** |
| 30 | 31 | * ...and connect the rest of 'Pages' controller's urls. |
-
|
rb243ec7
|
r9287efa
|
|
| 63 | 63 | // set current controller URL |
| 64 | 64 | $this->setDavRoot($controller->webroot.$controller->name); |
| | 65 | $this->controller->loadComponent(array('FileManager', 'FilterManager'), &$this); |
| 65 | 66 | $this->FilterManager->initialize(&$controller); |
| 66 | 67 | } |
| … |
… |
|
| 722 | 723 | $this->_putFsPath=$fspath; |
| 723 | 724 | $fp=fopen($fspath, "w"); |
| 724 | | if ($fp===false) |
| | 725 | if ($fp===false) { |
| 725 | 726 | Logger::err("fopen('$fspath', 'w')===false"); |
| | 727 | } |
| 726 | 728 | |
| 727 | 729 | return $fp; |