summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorJoachim Sokolowski <github@sokolowski.org>2016-06-22 08:41:10 +0200
committerMorris Jobke <hey@morrisjobke.de>2016-06-22 10:22:55 +0200
commitb1d60eb7380261cb8f5a33f0cf51ccb47f6c94bb (patch)
tree99738627fed26722481a8023176636d63e66fc93 /lib/base.php
parenta9a7e0edee82334b0f1458e70f8d5e763b1e964a (diff)
downloadnextcloud-server-b1d60eb7380261cb8f5a33f0cf51ccb47f6c94bb.tar.gz
nextcloud-server-b1d60eb7380261cb8f5a33f0cf51ccb47f6c94bb.zip
some text-changes to nextcloud
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php22
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/base.php b/lib/base.php
index 472bf1b9601..84ec0c2c5fe 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -66,27 +66,27 @@ class OC {
*/
public static $CLASSPATH = array();
/**
- * The installation path for owncloud on the server (e.g. /srv/http/owncloud)
+ * The installation path for Nextcloud on the server (e.g. /srv/http/nextcloud)
*/
public static $SERVERROOT = '';
/**
- * the current request path relative to the owncloud root (e.g. files/index.php)
+ * the current request path relative to the Nextcloud root (e.g. files/index.php)
*/
private static $SUBURI = '';
/**
- * the owncloud root path for http requests (e.g. owncloud/)
+ * the Nextcloud root path for http requests (e.g. nextcloud/)
*/
public static $WEBROOT = '';
/**
- * The installation path of the 3rdparty folder on the server (e.g. /srv/http/owncloud/3rdparty)
+ * The installation path of the 3rdparty folder on the server (e.g. /srv/http/nextcloud/3rdparty)
*/
public static $THIRDPARTYROOT = '';
/**
- * the root path of the 3rdparty folder for http requests (e.g. owncloud/3rdparty)
+ * the root path of the 3rdparty folder for http requests (e.g. nextcloud/3rdparty)
*/
public static $THIRDPARTYWEBROOT = '';
/**
- * The installation path array of the apps folder on the server (e.g. /srv/http/owncloud) 'path' and
+ * The installation path array of the apps folder on the server (e.g. /srv/http/nextcloud) 'path' and
* web path in 'url'
*/
public static $APPSROOTS = array();
@@ -99,7 +99,7 @@ class OC {
public static $REQUESTEDAPP = '';
/**
- * check if ownCloud runs in cli mode
+ * check if Nextcloud runs in cli mode
*/
public static $CLI = false;
@@ -174,7 +174,7 @@ class OC {
OC::$WEBROOT = self::$config->getValue('overwritewebroot', '');
}
- // Resolve /owncloud to /owncloud/ to ensure to always have a trailing
+ // Resolve /nextcloud to /nextcloud/ to ensure to always have a trailing
// slash which is required by URL generation.
if($_SERVER['REQUEST_URI'] === \OC::$WEBROOT &&
substr($_SERVER['REQUEST_URI'], -1) !== '/') {
@@ -408,7 +408,7 @@ class OC {
// prevents javascript from accessing php session cookies
ini_set('session.cookie_httponly', true);
- // set the cookie path to the ownCloud directory
+ // set the cookie path to the Nextcloud directory
$cookie_path = OC::$WEBROOT ? : '/';
ini_set('session.cookie_path', $cookie_path);
@@ -473,7 +473,7 @@ class OC {
}
/**
- * Try to set some values to the required ownCloud default
+ * Try to set some values to the required Nextcloud default
*/
public static function setRequiredIniValues() {
@ini_set('default_charset', 'UTF-8');
@@ -890,7 +890,7 @@ class OC {
// in the routing files of each app
OC::loadAppClassPaths();
- // Check if ownCloud is installed or in maintenance (update) mode
+ // Check if Nextcloud is installed or in maintenance (update) mode
if (!$systemConfig->getValue('installed', false)) {
\OC::$server->getSession()->clear();
$setupHelper = new OC\Setup(\OC::$server->getConfig(), \OC::$server->getIniWrapper(),