]> git.mxchange.org Git - mailer.git/blob - guestbook/settings.php
Added local files.
[mailer.git] / guestbook / settings.php
1 <?php
2 /**
3 * $Id: settings.php,v 1.0 2005/31/12 12:00:00 thomasz Exp $
4 *
5 * @author       Thomas Zeithaml <info@spider-trap.de>
6 * @copyright    (c) 2005-2006 Spider-Trap Team
7
8 * The contents of this file are subject to the Mozilla Public License
9 * Version 1.1 (the "License"); you may not use this file except in
10 * compliance with the License. You may obtain a copy of the License at
11 * http://www.mozilla.org/MPL/
12
13 * Software distributed under the License is distributed on an "AS IS"
14 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
15 * License for the specific language governing rights and limitations
16 * under the License.
17 */
18 // Schreibrechte CHMOD 777
19 error_reporting(0);
20 $htaccess_file = dirname(dirname(__FILE__))."/.htaccess";
21 if (!is_writeable($htaccess_file)) die("Cannot write ".$htaccess_file." !");
22 $blacklist_file = dirname(dirname(__FILE__))."/blacklist.txt"; 
23 if (!is_writeable($blacklist_file)) die("Cannot write ".$blacklist_file." !");
24 $whitelist_file = dirname(dirname(__FILE__))."/whitelist.txt"; 
25 if (!is_writeable($whitelist_file)) die("Cannot write ".$whitelist_file." !");
26
27 $alert_email = "webmaster@mxchange.org"; // Email für Benachrichtigungen
28
29 $mail_on_add = true; // Email senden wenn neue Sperre 
30 $mail_on_remove = true; // Email senden wenn Sperre für jemand aufgehoben wurde ?
31
32 $trap_path = "guestbook/"; // path of the trap - must end with a "/"
33
34 $sleep_min = 30; $sleep_max = 300;
35
36 $captcha_file = dirname(dirname(__FILE__))."/".$trap_path."captcha.txt";
37 if (!is_writeable($captcha_file)) die("Cannot write ".$captcha_file." !");
38
39 // Bitte randomizen Sie diesen String etwas selber! ;-)
40 define('sitekey', "spider-trap_yh34yh=3h3542u5y458=h34t73h=h24yhj2q4-h2");
41
42 // Hier koennen Sie auch das deutsche Datumsformat nehmen, Uhrzeit nicht, da diese zu haeufig wechselt
43 // und somit die Codegenerierung nicht identische Codes liefert
44 define('datekey', date("d-m-Y", time()));
45
46 // Sollen die Linienanzahl per Zufall gewaehlt werden? Ja = true, Nein, fixierte Anzahl = false
47 define('random_lines', true);
48
49 // Wo sind die "Core-Dateien" abgelegt? (mit abschliessendem Slash!)
50 define('trap_core_path', "/usr/share/php/spider-trap/");
51
52 //
53 ?>