summaryrefslogtreecommitdiffstats
path: root/config.php
blob: ac6a9de4977536889853c328ca4946481572233f (plain) (blame)
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
<?php

// This might leak sensitive information. Never enable in production!
define('CONFIG_DEBUG', true);

define('CONFIG_SESSION_DIR', '/tmp/openslx');
define('CONFIG_SESSION_TIMEOUT', 86400 * 3);

//define('CONFIG_SQL_BACKEND', 'mysql');
//define('CONFIG_SQL_HOST', 'localhost');
define('CONFIG_SQL_DSN', 'mysql:dbname=openslx;host=localhost');
define('CONFIG_SQL_USER', 'openslx');
define('CONFIG_SQL_PASS', 'geheim');
//define('CONFIG_SQL_DB', 'openslx');

define('CONFIG_TGZ_LIST_DIR', '/opt/openslx/configs');

define('CONFIG_REMOTE_TGZ', 'http://mltk.boot.openslx.org/tgz');
define('CONFIG_REMOTE_ML',  'http://mltk.boot.openslx.org/update');

define('CONFIG_TFTP_DIR', '/srv/openslx/tftp');
define('CONFIG_HTTP_DIR', '/srv/openslx/www/boot');

define('CONFIG_IPXE_DIR', '/opt/openslx/ipxe');