-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.php
36 lines (25 loc) · 1.18 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
<?php
/*
CONFIGURE FILE OF SCRIPT
MIT License
Copyright (c) 2021 Fernando
https://github.com/fernandod1
*/
// Set username and password for control panel login
$USERNAME='admin';
$PASSWORD='admin';
// Set your timezone. List of options: https://www.php.net/manual/en/timezones.php
date_default_timezone_set('Europe/Madrid');
// Set Maximum time expiration of counter's cookie in seconds (86400 = 1 day).
$COOKIE_EXPIRATION_TIME=60;
// Set redirect URL if user click over a link with campaign already finished.
$URL_REDIRECT_CAMPAIGN_FINISHED='https://www.disney.com';
// Set redirect URL if user already clicked ant tries to click again (cookie not expired).
$URL_REDIRECT_ALREADY_CLICKED='https://yourdomain.com/sorry.html';
// Set $URL_SCRIPT_FOLDER variable with script url. Example: https://yourdomain.com/counter/
$URL_SCRIPT_FOLDER='';
// Set $PATH_LOGS_COUNTERS variable with full path for storing counters logs. Example: /server/full/path/yourdomain.com/htpdocs/counters/logs_counters/
$PATH_LOGS_COUNTERS='';
// Set $PATH_LOGS_HISTORY variable with full path for sotring counters history logs. Example: /server/full/path/yourdomain.com/htpdocs/counters/logs_history/
$PATH_LOGS_HISTORY='';
?>