-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.example.php
67 lines (62 loc) · 2.04 KB
/
config.example.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
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
63
64
65
66
<?php
/**
* NOTE: Use the $appConfigDevelopment config fore now.
*/
/**
* There are two modes in this program. One for development and one for
* production. You can change this mode my editing the 'mode' parameter in the
* underlying code. Every mode has its own config array.
*/
$appConfig = array(
'mode' => 'development', // or production
);
/**
* Config for Development mode.
* ============================
* template.path: absulute path to the folder that contains the templates.
* subdir: The path to the hostname that hosts the Data-Tank UI.
* tdt-url: Url of the Data-Tank this UI uses to get and set its data.
*
* NOTE: all paths are without trailing slash unless otherwise noted.
*/
$appConfigDevelopment = array(
'debug' => true,
'log.enable' => true,
'log.path' => '/tmp/',
'log.level' => 4,
'templates.path' => '/Users/abe/Sites/The-DataTank-GUI/templates',
'view' => 'TwigView',
// Name of the host that runs the UI.
'hostname' => 'http://localhost',
'subdir' => '/~abe/The-DataTank-GUI/app.php',
'static' => '/~abe/The-DataTank-GUI/static',
// Name of the host where the datatank is hosted
'tdt-url' => 'http://localhost',
'database.dsn' => 'sqlite:/tmp/tdt.db',
'database.user' => '',
'database.password' => '',
'tdt.content-type' => 'json',
'tdt.cache-system' => 'NoCache',
);
/**
* Config for Production mode.
*/
$appConfigProduction = array(
'debug' => true,
'log.enable' => true,
'log.path' => '/tmp/',
'log.level' => 4,
'templates.path' => '/Users/abe/Sites/The-DataTank-GUI/templates',
'view' => 'TwigView',
// Name of the host that runs the UI.
'hostname' => 'http://localhost',
'subdir' => '/~abe/The-DataTank-GUI/app.php',
'static' => '/~abe/The-DataTank-GUI/static',
// Name of the host where the datatank is hosted
'tdt-url' => 'http://localhost',
'database.dsn' => 'sqlite:/tmp/tdt.db',
'database.user' => '',
'database.password' => '',
'tdt.content-type' => 'json',
'tdt.cache-system' => 'NoCache',
);