5 * @author Thomas Zeithaml <info@spider-trap.de>
6 * @copyright (c) 2005-2006 Spider-Trap Team
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/
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
18 // Schreibrechte CHMOD 777
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." !");
27 $alert_email = "webmaster@wernis4mails.de"; // Email für Benachrichtigungen
29 $mail_on_add = true; // Email senden wenn neue Sperre
30 $mail_on_remove = true; // Email senden wenn Sperre für jemand aufgehoben wurde ?
32 $trap_path = "guestbook/"; // path of the trap - must end with a "/"
34 $sleep_min = 30; $sleep_max = 300;
36 $captcha_file = dirname(dirname(__FILE__))."/".$trap_path."captcha.txt";
37 if (!is_writeable($captcha_file)) die("Cannot write ".$captcha_file." !");
39 // Bitte randomizen Sie diesen String etwas selber! ;-)
40 define('sitekey', "spider-trap_ti34ti2340yti24y0-24t-24lt234otp234orpow");
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()));
46 // Sollen die Linienanzahl per Zufall gewaehlt werden? Ja = true, Nein, fixierte Anzahl = false
47 define('random_lines', true);
49 // Wo sind die "Core-Dateien" abgelegt? (mit abschliessendem Slash!)
50 define('trap_core_path', "/usr/share/php/spider-trap/");