mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-11-29 11:24:11 +01:00
Change app path logic in templates
This commit is contained in:
parent
84975f6f7c
commit
a7baf611f0
@ -22,8 +22,8 @@
|
||||
|
||||
OCP\App::checkAppEnabled('contacts');
|
||||
|
||||
if(substr($_SERVER["REQUEST_URI"],0,strlen(OC::$APPSWEBROOT . '/apps/contacts/carddav.php')) == OC::$APPSWEBROOT . '/apps/contacts/carddav.php'){
|
||||
$baseuri = OC::$APPSWEBROOT . '/apps/contacts/carddav.php';
|
||||
if(substr($_SERVER["REQUEST_URI"],0,strlen(OC_App::getAppWebPath('contacts').'/carddav.php')) == OC_App::getAppWebPath('contacts').'/carddav.php'){
|
||||
$baseuri = OC_App::getAppWebPath('contacts').'/carddav.php';
|
||||
}
|
||||
|
||||
// only need authentication apps
|
||||
|
Loading…
Reference in New Issue
Block a user