summaryrefslogtreecommitdiffstats
path: root/apps/theming/lib
diff options
context:
space:
mode:
authorLorenzo Tanganelli <lorenzo.tanganelli@hotmail.it>2023-06-19 12:13:38 +0000
committerLorenzo Tanganelli <lorenzo.tanganelli@hotmail.it>2023-06-19 20:18:10 +0000
commitcc239f5059089e376260351977911efcc146a1db (patch)
treea83ec0ce2a83e0652a5eedebeb6f45c7ae46a53b /apps/theming/lib
parentb33cbecb47f4caf7dc5db3c3bfeb208eea0fba98 (diff)
downloadnextcloud-server-cc239f5059089e376260351977911efcc146a1db.tar.gz
nextcloud-server-cc239f5059089e376260351977911efcc146a1db.zip
add getDocBaseUrl that exted default
Signed-off-by: Lorenzo Tanganelli <lorenzo.tanganelli@hotmail.it>
Diffstat (limited to 'apps/theming/lib')
-rw-r--r--apps/theming/lib/ThemingDefaults.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/theming/lib/ThemingDefaults.php b/apps/theming/lib/ThemingDefaults.php
index 454e0505543..7de87389f18 100644
--- a/apps/theming/lib/ThemingDefaults.php
+++ b/apps/theming/lib/ThemingDefaults.php
@@ -71,6 +71,7 @@ class ThemingDefaults extends \OC_Defaults {
private string $productName;
private string $url;
private string $color;
+ private string $docBaseUrl;
private string $iTunesAppId;
private string $iOSClientUrl;
@@ -120,6 +121,7 @@ class ThemingDefaults extends \OC_Defaults {
$this->iOSClientUrl = parent::getiOSClientUrl();
$this->AndroidClientUrl = parent::getAndroidClientUrl();
$this->FDroidClientUrl = parent::getFDroidClientUrl();
+ $this->docBaseUrl = parent::getDocBaseUrl();
}
public function getName() {
@@ -163,6 +165,10 @@ class ThemingDefaults extends \OC_Defaults {
return (string)$this->config->getAppValue('theming', 'privacyUrl', '');
}
+ public function getDocBaseUrl() {
+ return (string)$this->config->getAppValue('theming', 'docBaseUrl', $this->docBaseUrl);
+ }
+
public function getShortFooter() {
$slogan = $this->getSlogan();
$baseUrl = $this->getBaseUrl();