diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-05-02 16:03:58 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-05-06 17:55:30 +0200 |
commit | 249a5dbdba0dc3628c0f3490680de61dc91aafc8 (patch) | |
tree | 452f288909bb811146a0683b8a75c1b87932aadc /lib/private/Template | |
parent | e0c62352b71441c2f843fd5f023000af342011a8 (diff) | |
download | nextcloud-server-249a5dbdba0dc3628c0f3490680de61dc91aafc8.tar.gz nextcloud-server-249a5dbdba0dc3628c0f3490680de61dc91aafc8.zip |
Move oc_webroot, OC.webroot and OC.getRootPath() to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/Template')
-rw-r--r-- | lib/private/Template/JSConfigHelper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Template/JSConfigHelper.php b/lib/private/Template/JSConfigHelper.php index 7400650eade..ee049533bbb 100644 --- a/lib/private/Template/JSConfigHelper.php +++ b/lib/private/Template/JSConfigHelper.php @@ -170,7 +170,7 @@ class JSConfigHelper { "_oc_isadmin" => $this->groupManager->isAdmin($uid) ? 'true' : 'false', "backendAllowsPasswordConfirmation" => $userBackendAllowsPasswordConfirmation ? 'true' : 'false', "oc_dataURL" => is_string($dataLocation) ? "\"".$dataLocation."\"" : 'false', - "oc_webroot" => "\"".\OC::$WEBROOT."\"", + "_oc_webroot" => "\"".\OC::$WEBROOT."\"", "oc_appswebroots" => str_replace('\\/', '/', json_encode($apps_paths)), // Ugly unescape slashes waiting for better solution "datepickerFormatDate" => json_encode($this->l->l('jsdate', null)), 'nc_lastLogin' => $lastConfirmTimestamp, |