Variable value is expected and not an echoed output

This commit is contained in:
Lukas Reschke 2014-02-20 10:28:11 +01:00
parent b61f0f11c5
commit ba7a79372a
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ foreach(OC_App::getEnabledApps() as $app) {
$array = array(
"oc_debug" => (defined('DEBUG') && DEBUG) ? 'true' : 'false',
"ox_isadmin" => p(OC_User::isAdminUser(OC_User::getUser()) ? 'true' : 'false');
"ox_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')),