forked from CitadelOnTheMove/treefinder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConfig.php
53 lines (43 loc) · 1.57 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?php
/*
* Configuration settings
*/
// directories
/***********************************************************
* Don't forget to insert the web root directory
* for example: "C:/wamp/www/" is the default root web dir in a standard wampServer setup)
***********************************************************
*/
define("HTDOCS_ROOT", "/code/");
/***********************************************************
* Replace 'localhost' with your IP address,
* if you want to access the template with a mobile device
* connected to the same network
***********************************************************
*/
define("SERVERNAME", "http://localhost/");
/***********************************************************
* Leave all the settings below unchanged if you only want
* to run the template with the default dataset and parameters.
***********************************************************
*/
define("BASE_DIR", "treefinder/" );
define("CLASSES_DIR", "php/");
define("CLASSES", HTDOCS_ROOT . BASE_DIR . CLASSES_DIR);
define("DEBUG", true);
// dataset
define("DATASET_FILE", HTDOCS_ROOT . BASE_DIR ."data/POI_trees_gent.json");
define("DATASET_ID", 36);
define("DATASET_URL", SERVERNAME . BASE_DIR . "dataset.php");
define("USE_DATABASE", false);
// Map Options (coords point to center of Gent)
define("MAP_CENTER_LATITUDE", 51.033261);
define("MAP_CENTER_LONGITUDE", 3.726488);
define("MAP_ZOOM", 16);
// database
define("DB_USERNAME", "root");
define("DB_PASSWORD", "");
define("DB_HOSTNAME", "127.0.0.1");
define("DB_PORT", "3306");
define("DB_NAME", "citadel");
?>