nextcloud/apps/calendar/appinfo/install.php

5 lines
188 B
PHP

<?php
if(!file_exists(OC::$WEBROOT.'/remote/caldav.php')){
file_put_contents(OC::$WEBROOT.'/remote/caldav.php', file_get_contents(OC::$APPSROOT . '/apps/calendar/appinfo/remote.php'));
}