Skip to content
Snippets Groups Projects
Commit 5c6a8544 authored by Björn Schießle's avatar Björn Schießle
Browse files

add default doc url

parent e1e798c6
No related branches found
No related tags found
No related merge requests found
......@@ -6,11 +6,13 @@ class OC_Defaults {
private static $communityName = "ownCloud";
private static $communityBaseUrl = "http://owncloud.org";
private static $communitySyncClientUrl = " http://owncloud.org/sync-clients/";
private static $communityDocBaseUrl = "http://doc.owncloud.org";
private static $communitySlogan = "web services under your control";
private static $enterpriseEntity = "ownCloud Inc.";
private static $enterpriseName = "ownCloud Enterprise Edition";
private static $enterpriseBaseUrl = "https://owncloud.com";
private static $enterpriseDocBaseUrl = "http://doc.owncloud.com";
private static $enterpiseSyncClientUrl = "https://owncloud.com/products/desktop-clients";
private static $enterpriseSlogan = "Your Cloud, Your Data, Your Way!";
......@@ -31,6 +33,14 @@ class OC_Defaults {
}
}
public static function getDocBaseUrl() {
if (OC_Util::getEditionString() === '') {
return self::$communityDocBaseUrl;
} else {
return self::$enterpriseDocBaseUrl;
}
}
public static function getName() {
if (OC_Util::getEditionString() === '') {
return self::$communityName;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment