-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php
36 lines (23 loc) · 990 Bytes
/
config.php
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
<?php
$conf["dir"]["input"] = "input";
$conf["dir"]["output"] = "output";
$conf["dir"]["cache"] = "cache";
$conf["dir"]["output-json"] = "output-json";
$conf["git"]["exec"] = ""; //bin or command for git. e.g. "git" if its available in PATH
$conf["git"]["localPath"] = __DIR__."\\input-json"; //where to checkout the repository
$conf["git"]["repository"] = ""; //path to public remote repository
$conf["sleep"] = 0;
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
$conf["serverType"] = "windows";
$conf["pythonDir"] = "C:\Python37-32";
$conf["pythonDirScripts"] = "C:\Python37-32\Scripts";
$conf["eSpeak"] = "C:\Program Files (x86)\\eSpeak\command_line";
$conf["ffmpeg"] = "C:\Program Files (x86)\FFmpeg\bin";
} else {
$conf["serverType"] = "unix";
$conf["pythonDir"] = "/usr/local/bin";
$conf["pythonDirScripts"] = "/usr/local/bin";
$conf["eSpeak"] = "/usr/local/bin";
$conf["ffmpeg"] = "/usr/local/bin";
}
?>