/
settings.php
50 lines (41 loc) · 1.59 KB
/
settings.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
<?php
$testsSettings = array(
'sbazar.cz' =>
array( 'robotsTxtFile' => './settings/robots.txt/sbazar.txt',
'robotsTxtURL' => 'https://www.sbazar.cz/robots.txt',
'testRules' => './settings/tests/sbazar.txt',
'curl_useragent' => 'SEO test',
'email' => 'email-kam-poslat-report@seznam.cz', // středník odděluje více emailů
),
// same test as previous, but with different useragent for testing "hacks for googlebot mobile"
'zbozi.cz-googlebot-mobile' =>
array( 'robotsTxtFile' => '/testfiles/robots.txt/zbozi.txt',
'curl_useragent' => 'Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.96 Mobile Safari/537.36 ( ompatible; Googlebot/2.1; +http://www.google.com/bot.html)',
),
// sample configuration for "default.cz" test
'default.cz' =>
array( 'robotsTxtFile' => '/testfiles/robots.txt/default.txt',
'testRules' => '/testfiles/tests/default.txt',
'curl_useragent' => 'SEO test',
),
);
/**
* default settings
*
*/
$generalSettings = array(
'curl_useragent' => 'SEO testing robot - made with ♥ by Jaroslav Hlavinka jaroslav@hlavinka.cz',
'debug' => TRUE,
'emailHost' => 'smtp.gmail.com',
'emailPort' => 587,
'emailSMTPSecure' => 'tls',
'emailSMTPAuth' => true,
'emailUsername' => 'email@gmail.com',
'emailPassword' => 'heslodoemailu',
'emailFrom' => 'vrazda-smrt-zabiti@seorobot.dev',
'smtpDebugLevel' => 0, // 2 or 4 when debugging
);
$log = '';
// error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE);
//error_reporting(E_ALL);
error_reporting(E_ERROR);