summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorVincent Chan <plus.vincchan@gmail.com>2016-02-02 10:32:50 +0100
committerVincent Chan <plus.vincchan@gmail.com>2016-02-02 10:32:50 +0100
commit59cfeae2cdb02377280efbedd8e7c1335932fdc4 (patch)
treea67e6915530d4bea0cb76b701c92d02dc9175302 /core
parentfaf48e42b7a9bf208bd2e16baa0a9cc4c602dce3 (diff)
downloadnextcloud-server-59cfeae2cdb02377280efbedd8e7c1335932fdc4.tar.gz
nextcloud-server-59cfeae2cdb02377280efbedd8e7c1335932fdc4.zip
changed variables to lowercase
Diffstat (limited to 'core')
-rw-r--r--core/js/config.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/js/config.php b/core/js/config.php
index 0eb059051c9..aac7630a1d8 100644
--- a/core/js/config.php
+++ b/core/js/config.php
@@ -62,17 +62,17 @@ if ($defaultExpireDateEnabled) {
}
$outgoingServer2serverShareEnabled = $config->getAppValue('files_sharing', 'outgoing_server2server_share_enabled', 'yes') === 'yes';
-$CountOfDataLocation = 0;
+$countOfDataLocation = 0;
-$DataLocation = str_replace(OC::$SERVERROOT .'/', '', $config->getSystemValue('datadirectory', ''), $CountOfDataLocation);
-if($CountOfDataLocation !== 1 || !OC_User::isAdminUser(OC_User::getUser())){
- $DataLocation = false;
+$dataLocation = str_replace(OC::$SERVERROOT .'/', '', $config->getSystemValue('datadirectory', ''), $countOfDataLocation);
+if($countOfDataLocation !== 1 || !OC_User::isAdminUser(OC_User::getUser())){
+ $dataLocation = false;
}
$array = array(
"oc_debug" => $config->getSystemValue('debug', false) ? 'true' : 'false',
"oc_isadmin" => OC_User::isAdminUser(OC_User::getUser()) ? 'true' : 'false',
- "oc_dataURL" => is_string($DataLocation) ? "\"".$DataLocation."\"" : 'false',
+ "oc_dataURL" => is_string($dataLocation) ? "\"".$dataLocation."\"" : 'false',
"oc_webroot" => "\"".OC::$WEBROOT."\"",
"oc_appswebroots" => str_replace('\\/', '/', json_encode($apps_paths)), // Ugly unescape slashes waiting for better solution
"datepickerFormatDate" => json_encode($l->l('jsdate', null)),