-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.inc.php.sample
62 lines (53 loc) · 2.59 KB
/
config.inc.php.sample
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?php
/**
* Configuration of the MySQL database
*/
$db->type = 'mysql';
$db->host = '127.0.0.1';
$db->user = 'omk';
$db->pass = 'ieGh8AVa';
$db->name = 'omk';
/**
* Definition of some constants for the URLs
* The directories end with a "/".
*/
define('BASE_URL', '/');
define('STATIC_URL', '/static/');
define('FULL_URL', 'http://omk.local/'); // the root url of the application, ending by /
// Sender and sender's name of all outgoing emails: (PLEASE CHANGE THIS)
define('MAIL_FROM', '[email protected]');
define('MAIL_FROMNAME', 'unconfigured OpenMediaKit Server');
/* The default number of api call per minute allowed for each user: */
define('RATE_DEFAULT',100);
/* The path where we store the downloaded files for adapters who need it ... */
define('STORAGE_PATH',ROOT.'/storage');
/* The (shared among encoders) TMP directory where we can write */
define('TMP_PATH',ROOT.'/tmp');
/* Which logger shall we use ? File ? Syslog ? */
define('LOGGER','syslog');
/* If logging to a file, put it here (must be writable by the web server Unix user) */
define('LOGGER_FILE','/var/log/omk/transcoder.log');
/* Shall we log DEBUG message or not ? */
define('LOGGER_DEBUG',true);
// How many days we keep the transcoded files after we made them?
define('MAX_KEEP_TRANSCODE_DAYS',3);
// How many days we keep the original video files after having no job to do with them?
define('MAX_KEEP_ORIGINAL_DAYS',7);
// How many CURL http sockets to launch in parallel for CRON daemon in the api
define('MAX_SOCKETS',100); // 100 is a good ballpark... we advise you to change it only if you know what you do. (like having the official public transcoder of wordpress.com ;) )
define('RANDOM_SALT','vook0Hea3Quou0fohX'); // CHANGE THIS TOO, any random string will be fine
/* ------------------------------------------------------------ */
/** Is it a PUBLIC transcoder?
* (as a result, ANYBODY WILL BE ALLOWED TO USE YOUR SERVER TO TRANSCODE VIDEOS !)
* To do so, set PUBLIC_TRANSCODER to true, and fill your transcoder NAME and your EMAIL ADDRESS below.
* When all those 3 settings will be filled, and your cron.daily launched, your transcoder will start to
* become available to anybody. Your email will need to be confirmed by clicking a link that the open-mediakit.org
* discovery service will sent to you.
*
* If you want to ensure the best possible service, please subscribe to the discussion list
* of public transcoders managers at [email protected]
* and announce your transcoder name and capacity.
*/
define('PUBLIC_TRANSCODER',false);
define('TRANSCODER_NAME','');
define('TRANSCODER_ADMIN_EMAIL','');