]> git.mxchange.org Git - ctracker.git/blobdiff - libs/lib_detector.php
Updated a lot:
[ctracker.git] / libs / lib_detector.php
index dc76ea16bda909d6aec214daea503196f2aacaf3..976ac546e72247538d66199cbd2904e613c34291 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * Detector library
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @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']  = '';