forked from iRail/The-DataTank
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Config.example.class.php
34 lines (28 loc) · 1.19 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
<?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 <[email protected]>
* @author Pieter Colpaert <[email protected]>
*/
class Config {
//add a trailing slash!
public static $HOSTNAME = "http://localhost/";
// host for caching purposes
public static $CACHE_SYSTEM = "MemCache"; //other possibilities: NoCache, apc...
public static $CACHE_HOST = "localhost";
public static $CACHE_PORT = 11211;
//the webserver subdirectory, if it's not in a subdir, fill in blank
public static $SUBDIR = "";
public static $DB = 'mysql:host=localhost;dbname=NAME';
public static $DB_USER = 'root';
public static $DB_PASSWORD = 'root';
// validation for API calls to remotely add resources and modules
public static $API_USER = "";
public static $API_PASSWD = "";
// path to the PHPExcel IOFactory.php, required for XLS generic resource
public static $PHPEXCEL_IOFACTORY_PATH = "../PHPExcel/Classes/PHPExcel/IOFactory.php";
}
?>