'oc.de', # Tell OKAPI to work in "OCDE mode". 'SUPPORTS_LOGTYPE_NEEDS_MAINTENANCE' => false, # OCDE doesn't support it, see [2] for more info. # Settings which ARE present in settings.inc.php: 'ADMINS' => array($opt['db']['warn']['mail'],'rygielski@mimuw.edu.pl'), 'FROM_FIELD' => $opt['mail']['contact'], 'DATA_LICENSE_URL' => $opt['page']['absolute_url'] . $opt['logic']['license']['terms'], 'DEBUG' => ($opt['debug'] & DEBUG_DEVELOPER != 0), 'DEBUG_PREVENT_SEMAPHORES' => !$opt['php']['semaphores'], # not available on current developer system 'DB_SERVER' => $opt['db']['servername'], 'DB_NAME' => $opt['db']['placeholder']['db'], 'DB_USERNAME' => $opt['db']['username'], 'DB_PASSWORD' => $opt['db']['password'], 'SITELANG' => strtolower($opt['template']['default']['locale']), 'TIMEZONE' => $opt['php']['timezone'], # BTW, OCPL doesn't have it in settings.inc.php 'SITE_URL' => $opt['page']['absolute_url'], 'ORIGIN_URL' => $opt['page']['origin_url'], 'VAR_DIR' => $GLOBALS['rootpath'].'var/okapi', 'IMAGES_DIR' => rtrim($opt['logic']['pictures']['dir'], '/'), 'SITE_LOGO' => $opt['page']['absolute_url'] . 'resource2/' . $opt['template']['default']['style'] . '/images/oclogo/oc_logo_alpha3.png', 'OC_NODE_ID' => $opt['logic']['node']['id'], 'OC_COOKIE_NAME' => $opt['session']['cookiename'].'data', 'OCDE_HTML_PURIFIER_SETTINGS' => $opt['html_purifier'], ); }