This repository was archived by the owner on Jul 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathconfig.php
More file actions
executable file
·39 lines (30 loc) · 1.55 KB
/
config.php
File metadata and controls
executable file
·39 lines (30 loc) · 1.55 KB
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
<?php
$config= [
/* The email adress the notification emails will be sent to */
'userEmail' => 'noreply@example.com',
/* The email adress the notification emails will come from */
'senderEmail' => 'noreply@example.com',
/* The HTML body of the notification email */
/* Available placeholders that will be replaced by the game's information: {gameName}, {gamePrice}, {gameURL}, {sellerCountry}, {sellerRating}, {sellerSells} */
'emailText' =>
'Hey,<br>the game {gameName} is now <a href="{gameURL}">available on g2a.com</a> for {gamePrice} ({lowestPrice}).<br>
The seller is from {sellerCountry} and has a rating of {sellerRating}% (based on {sellerSells} sells).<br>
<br>
The alert for this game is now disabled. Please go to the web interface of this tool to reactivate it.<br>
<br>
Your price watchdog',
/* The subject of the notification emails */
/* Available placeholder that will be replaced by the game's name: {gameName} */
'emailSubject' => '{gameName} is now available for your desired price',
/* Location of the data file */
'dataFile' => __DIR__ . '/data.php',
/* -------------
Replace this section with the values from setup.php */
/* Secret saved in the session to make it unique */
'sessionSecret' => 'hlrMkPR8wH',
/* API secret used for authenticating the mobile app */
'apiSecret' => 'hlrMkPR8wH',
/* Default password: "password" */
'rightPasswordHash' => '$2y$10$ueBR3zRV3W/H.z2hBDxwh..16NeIwTVVQOCdBHTUVnj9ahVanXCcu',
// -------------
];