OKAPI settings update
This commit is contained in:
parent
566e79ba72
commit
a17f203959
@ -58,7 +58,7 @@
|
||||
$absolute_server_URI = $dev_baseurl . '/';
|
||||
|
||||
// EMail address of the sender
|
||||
if (!isset($emailaddr)) $emailaddr = 'contact@opencaching.de';
|
||||
if (!isset($emailaddr)) $emailaddr = 'root@local.opencaching.de';
|
||||
|
||||
// location of cache images
|
||||
if (!isset($picdir)) $picdir = $rootpath . 'images/uploads';
|
||||
@ -142,7 +142,7 @@
|
||||
|
||||
// data license
|
||||
$opt['logic']['license']['disclaimer'] = true; // also in lib2/settings-dist.inc.php
|
||||
$opt['logic']['license']['terms'] = 'http://www.opencaching.de/articles.php?page=impressum#datalicense';
|
||||
$opt['logic']['license']['terms'] = $absolute_server_URI . 'articles.php?page=impressum#datalicense';
|
||||
|
||||
// see config2/settings-dist.inc.php
|
||||
$opt['template']['default']['locale'] = 'DE'; // may be overwritten by $opt['domain'][...]['locale']
|
||||
@ -174,4 +174,7 @@
|
||||
$opt['template']['locales']['DA']['show'] = false;
|
||||
$opt['template']['locales']['PT']['show'] = false;
|
||||
$opt['template']['locales']['JA']['show'] = false;
|
||||
|
||||
// OKAPI settings
|
||||
$disable_semaphores = true;
|
||||
?>
|
@ -211,6 +211,10 @@
|
||||
// you can use -1 to use the master (not recommended, because replicated to slaves)
|
||||
$opt['db']['slave']['primary'] = -1;
|
||||
|
||||
// OKAPI settings
|
||||
$disable_semaphores = false;
|
||||
|
||||
|
||||
/* post_config() is invoked directly before the first HTML line of the main.tpl.php is sent to the client.
|
||||
*/
|
||||
function post_config()
|
||||
@ -226,10 +230,4 @@ function post_config()
|
||||
);
|
||||
}
|
||||
|
||||
$OKAPI_SETTINGS = array(
|
||||
'OC_BRANCH' => 'oc.de',
|
||||
'SITELANG' => 'de',
|
||||
'VAR_DIR' => $rootpath.'var',
|
||||
);
|
||||
|
||||
?>
|
||||
|
@ -25,6 +25,7 @@ function get_okapi_settings()
|
||||
'ADMINS' => array($sql_errormail,'rygielski@mimuw.edu.pl'),
|
||||
'FROM_FIELD' => $emailaddr,
|
||||
'DEBUG' => $debug_page,
|
||||
'DEBUG_PREVENT_SEMAPHORES' => $disable_semaphores, # not available on current developer system
|
||||
'DB_SERVER' => $dbserver,
|
||||
'DB_NAME' => $dbname,
|
||||
'DB_USERNAME' => $dbusername,
|
||||
|
Loading…
x
Reference in New Issue
Block a user