Changed $APPROOT to $APPSROOT as in https://gitorious.org/owncloud/owncloud/merge_requests/116
This commit is contained in:
parent
eab4a05d78
commit
2296521a2e
3 changed files with 3 additions and 3 deletions
|
@ -16,5 +16,5 @@ if (version_compare($installedVersion, '0.2.1', '<')) {
|
|||
}
|
||||
}
|
||||
if(!file_exists(OC::$WEBROOT.'/remote/caldav.php')){
|
||||
file_put_contents(OC::$WEBROOT.'/remote/caldav.php', file_get_contents(OC::$APPROOT . '/apps/calendar/appinfo/remote.php'));
|
||||
file_put_contents(OC::$WEBROOT.'/remote/caldav.php', file_get_contents(OC::$APPSROOT . '/apps/calendar/appinfo/remote.php'));
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
<?php
|
||||
if(!file_exists(OC::$WEBROOT.'/remote/carddav.php')){
|
||||
file_put_contents(OC::$WEBROOT.'/remote/carddav.php', file_get_contents(OC::$APPROOT . '/apps/contacts/appinfo/remote.php'));
|
||||
file_put_contents(OC::$WEBROOT.'/remote/carddav.php', file_get_contents(OC::$APPSROOT . '/apps/contacts/appinfo/remote.php'));
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
<?php
|
||||
if(!file_exists(OC::$WEBROOT.'/remote/webdav.php')){
|
||||
file_put_contents(OC::$WEBROOT.'/remote/webdav.php', file_get_contents(OC::$APPROOT . '/apps/files/appinfo/webdav.php'));
|
||||
file_put_contents(OC::$WEBROOT.'/remote/webdav.php', file_get_contents(OC::$APPSROOT . '/apps/files/appinfo/webdav.php'));
|
||||
}
|
Loading…
Reference in a new issue