This repository has been archived by the owner on Sep 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 69
/
Copy pathconfig.php
76 lines (51 loc) · 2.7 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?php
namespace Config;
// Do not touch this!
require 'Medoo.php';
use Medoo\Medoo;
//======================================================================
// MSF - CONFIG FILE
// https://github.com/Glennmen/PMSF
//======================================================================
//-----------------------------------------------------
// MAP SETTINGS
//-----------------------------------------------------
/* Location Settings */
$startingLat = 41.771822; // Starting latitude
$startingLng = -87.8549371; // Starting longitude
/* Anti scrape Settings */
$maxLatLng = 1; // Max latitude and longitude size (1 = ~110km, 0 to disable)
/* Map Title + Language */
$title = "PMSF Glennmen"; // Title to display in title bar
$locale = "en"; // Display language
/* Google Maps Key */
$gmapsKey = ""; // Google Maps API Key
/* Default map settings */
$showPokemon = 'true'; // true/false
$hidePokemon = '[10, 13, 16, 19, 21, 29, 32, 41, 46, 48, 50, 52, 56, 74, 77, 96, 111, 133,
161, 163, 167, 177, 183, 191, 194, 168]'; // [] for empty
$showGyms = 'false'; // true/false
$gymSidebar = 'true'; // true/false
$showPokestops = 'false'; // true/false
$showLured = 0; // O: all, 1: lured only
$showRanges = 'false'; // true/false
//-----------------------------------------------------
// 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
//-----------------------------------------------------
$map = "monocle"; // monocle/rm
$db = new Medoo([// required
'database_type' => 'mysql', // mysql/mariadb/pgsql/sybase/oracle/mssql/sqlite
'database_name' => 'Monocle',
'server' => '127.0.0.1',
'username' => 'database_user',
'password' => 'database_password',
'charset' => 'utf8',
// [optional]
//'port' => 5432, // Comment out if not needed, just add // in front!
]);