-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfiguration.php
More file actions
34 lines (27 loc) · 935 Bytes
/
configuration.php
File metadata and controls
34 lines (27 loc) · 935 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
// Datenbank
define('MYSQL_HOST', '');
define('MYSQL_USER', '');
define('MYSQL_PASSWORD', '');
define('MYSQL_DATABASE', '');
define('RRD_BASEDIR', ''); // Immer ohne schließendes "/"
// SLIM REST Framework
\Slim\Slim::registerAutoloader();
// Interne API
$api = new \Slim\Slim();
$api->config(
array( 'debug' => true,
'log.level' => \Slim\Log::DEBUG,
'cookies.lifetime' => '60 minutes'
)
);
$api->setName('vfn-nrw:node_api');
// Diverses
define('OPTION_LOGFILE', true);
define('OPTION_WHATMEANSACTIVEINMINUTES', 10);
define('OPTION_HOWLONGDOESAMESHLINKCOUNTINMINUTES', 10);
define('OPTION_WHATMEANSNEWINDAYS', 14);
define('OPTION_HIDENODEINGEODATAWHENOFFLINEFORDAYS', 30);
define('OPTION_NODEHREFBASE', 'https://freifunk.liztv.net/nodes'); // immer ohne schließendes "/"
define('OPTION_NODEMAPBASE', 'https://freifunk.liztv.net/batmap'); // immer ohne schießendes "/"
?>