-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig_sample.php
45 lines (41 loc) · 1.05 KB
/
config_sample.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
<?php
define("TOKEN", "TOKEN_FROM_YOUR_GITHUB_ACOUNT_API") ;
define("USERDATA", "greek-commiters-3000/") ;
define("USERPATH", "user/") ;
define("USERINFO", "info/") ;
define("RESULTSNUMBER", "3100"); // if we want to limit the saved results
define("API_URL", "https://api.github.com") ;
define("USERAGENT", "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0") ; // for curl
define("TIMEZONE", "Europe/Athens") ;
$perioxArray = array(
"Athens+-location:GA+-location:Georgia+-location:OH+-location:ohio",
"Thessaloniki",
"Patra",
"Irakleio",
"Larissa",
"Patras",
"Volos",
"Heraklion",
"Rhodes",
"Rodos",
"Ioannina",
"Chania",
"Chalkis",
"Chalkida",
"Agrinio",
"Katerini",
"Trikala",
"Serres",
"Lamia",
"Alexandroupoli",
"Kozani",
"Kavala",
"Veria",
"Athina",
"Hellas",
"Ellada",
"Athens, Greece"
) ;
date_default_timezone_set(TIMEZONE); // Set proper time zone
ini_set( 'date.timezone', TIMEZONE );
?>