X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=libs%2Flib_detector.php;h=976ac546e72247538d66199cbd2904e613c34291;hb=a44fb4bebb215b795183870b065b87a3788b7b16;hp=dc76ea16bda909d6aec214daea503196f2aacaf3;hpb=1712b74ff997d8d32b78781e514ed3f79a670817;p=ctracker.git diff --git a/libs/lib_detector.php b/libs/lib_detector.php index dc76ea1..976ac54 100644 --- a/libs/lib_detector.php +++ b/libs/lib_detector.php @@ -2,11 +2,11 @@ /** * Detector library * - * @author Roland Haeder + * @author Roland Haeder * @version 3.0.0 * @copyright Copyright (c) 2009 Cracker Tracker Team * @license GNU GPL 3.0 or any newer version - * @link http://www.ship-simu.org + * @link http://www.shipsimu.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -33,6 +33,9 @@ function initCrackerTrackerArrays () { @error_reporting(0); } + // Base path + $GLOBALS['ctracker_base_path'] = dirname(dirname(__FILE__)); + // Whitelist some absolute query strings (see below) $GLOBALS['ctracker_whitelist'] = array( 'cmd=new', // LinPHA @@ -158,9 +161,6 @@ function initCrackerTrackerArrays () { 'starhack', 'DeLiMehmet', 'hisset', 'Hisset', 'delimert', 'MecTruy' ); - // Load email header - $GLOBALS['ctracker_header'] = crackerTrackerLoadEmailTemplate('header'); - // Init more elements $GLOBALS['ctracker_post_track'] = ''; $GLOBALS['ctracker_checkworm'] = '';