-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.php
56 lines (39 loc) · 1.83 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
54
55
56
<?php
namespace Config;
// Do not touch this!
require 'Medoo.php';
use Medoo\Medoo;
//======================================================================
// MSF - CONFIG FILE
// https://github.com/Nuro/MSF
//======================================================================
//-----------------------------------------------------
// MAP SETTINGS
//-----------------------------------------------------
/* Location Settings */
$startingLat = 50.4005976; // Starting latitude
$startingLng = -4.1355412; // Starting longitude
/* Map Title + Language */
$title = "Pokemon Go Map"; // Title to display in title bar
$locale = "en"; // Display language
/* Google Maps Key */
$gmapsKey = "GMAPS_API_KEY; // Google Maps API Key
//-----------------------------------------------------
// DATA MANAGEMENT
//-----------------------------------------------------
// Clear pokemon from database this many hours after they disappear (0 to disable)
// This is recommended unless you wish to store a lot of backdata for statistics etc!
$purgeData = 0;
//-----------------------------------------------------
// DATABASE CONFIG
//-----------------------------------------------------
$db = new Medoo([// required
'database_type' => 'mysql', // mysql/mariadb/pgsql/sybase/oracle/mssql/sqlite
'database_name' => 'pokeminer',
'server' => '127.0.0.1',
'username' => 'database_user',
'password' => 'database_password',
// [optional]
//'charset' => 'utf8',
//'port' => 5432, // Comment out if not needed, just add // in front!
]);