-
Notifications
You must be signed in to change notification settings - Fork 9
/
Config.example.class.php
38 lines (31 loc) · 1.34 KB
/
Config.example.class.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
<?php
/**
* Please configure this file by filling out the right elements and copy this to Config.class.php. Ofcourse renaming this file to Config.class.php is equally good.
* @package The-DataTank
* @copyright (C) 2011 by iRail vzw/asbl
* @license AGPLv3
* @author Jan Vansteenlandt <jan@iRail.be>
* @author Pieter Colpaert <pieter@iRail.be>
*/
class Config {
//add a trailing slash!
public static $HOSTNAME = "http://localhost/";
//the webserver subdirectory, if it's not in a subdir, fill in blank. Just like $HOSTNAME, you must add a trailing slash!
public static $SUBDIR = "";
//timezone, used in the filters (e.g. if you call NOW() in SQL)
public static $TIMEZONE = "Europe/Brussels";
// host for caching purposes
public static $CACHE_SYSTEM = "MemCache"; //other possibilities: NoCache, apc...
public static $CACHE_HOST = "localhost";
public static $CACHE_PORT = 11211;
// validation for API calls to remotely add resources and modules
public static $API_USER = "";
public static $API_PASSWD = "";
public static $DB = 'mysql:host=localhost;dbname=logging';
public static $DB_USER = '';
public static $DB_PASSWORD = '';
public static $DEFAULT_LANGUAGE = "en";
// path to the PHPExcel IOFactory.php, required for XLS generic resource
public static $PHPEXCEL_IOFACTORY_PATH = "";
}
?>