summaryrefslogtreecommitdiffstats
path: root/core/js/config.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2014-02-20 12:51:15 +0100
committerLukas Reschke <lukas@statuscode.ch>2014-02-20 12:51:15 +0100
commit169f4cf7ff26932ec1e07bfc3676f22c06859db7 (patch)
tree9d6048257ba2821c8285a3b7f54a6efefa769062 /core/js/config.php
parentba7a79372a1e7f29f8f9de015fcc8500b6fed8dc (diff)
downloadnextcloud-server-169f4cf7ff26932ec1e07bfc3676f22c06859db7.tar.gz
nextcloud-server-169f4cf7ff26932ec1e07bfc3676f22c06859db7.zip
Fix typo
Diffstat (limited to 'core/js/config.php')
-rw-r--r--core/js/config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/config.php b/core/js/config.php
index a9fd9d01098..139c3b6d485 100644
--- a/core/js/config.php
+++ b/core/js/config.php
@@ -24,7 +24,7 @@ foreach(OC_App::getEnabledApps() as $app) {
$array = array(
"oc_debug" => (defined('DEBUG') && DEBUG) ? 'true' : 'false',
- "ox_isadmin" => OC_User::isAdminUser(OC_User::getUser()) ? 'true' : 'false',
+ "oc_isadmin" => OC_User::isAdminUser(OC_User::getUser()) ? 'true' : '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', 'jsdate')),