* @copyright (c) 2005-2006 Spider-Trap Team * * The contents of this file are subject to the Mozilla Public License * Version 1.1 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS IS" * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the * License for the specific language governing rights and limitations * under the License. */ // Schreibrechte CHMOD 777 error_reporting(0); $htaccess_file = dirname(dirname(__FILE__))."/.htaccess"; if (!is_writeable($htaccess_file)) die("Cannot write ".$htaccess_file." !"); $blacklist_file = dirname(dirname(__FILE__))."/blacklist.txt"; if (!is_writeable($blacklist_file)) die("Cannot write ".$blacklist_file." !"); $whitelist_file = dirname(dirname(__FILE__))."/whitelist.txt"; if (!is_writeable($whitelist_file)) die("Cannot write ".$whitelist_file." !"); $alert_email = "webmaster@mxchange.org"; // Email für Benachrichtigungen $mail_on_add = true; // Email senden wenn neue Sperre $mail_on_remove = true; // Email senden wenn Sperre für jemand aufgehoben wurde ? $trap_path = "guestbook/"; // path of the trap - must end with a "/" $sleep_min = 30; $sleep_max = 300; $captcha_file = dirname(dirname(__FILE__))."/".$trap_path."captcha.txt"; if (!is_writeable($captcha_file)) die("Cannot write ".$captcha_file." !"); // Bitte randomizen Sie diesen String etwas selber! ;-) define('sitekey', "spider-trap_yh34yh=3h3542u5y458=h34t73h=h24yhj2q4-h2"); // Hier koennen Sie auch das deutsche Datumsformat nehmen, Uhrzeit nicht, da diese zu haeufig wechselt // und somit die Codegenerierung nicht identische Codes liefert define('datekey', date("d-m-Y", time())); // Sollen die Linienanzahl per Zufall gewaehlt werden? Ja = true, Nein, fixierte Anzahl = false define('random_lines', true); // Wo sind die "Core-Dateien" abgelegt? (mit abschliessendem Slash!) define('trap_core_path', "/usr/share/php/spider-trap/"); // ?>