From: Roland Häder Date: Sat, 15 Aug 2009 12:49:04 +0000 (+0000) Subject: We no longer need this old piece of code X-Git-Url: https://git.mxchange.org/?p=core.git;a=commitdiff_plain;h=625b73919aa33ed3dc91b1879a462baa41abff4a;hp=2a5d0416e69ad50aa42bf86f9018200f73b66463 We no longer need this old piece of code --- diff --git a/.gitattributes b/.gitattributes index 1bb28195..2a4b51a8 100644 --- a/.gitattributes +++ b/.gitattributes @@ -529,8 +529,6 @@ inc/config/config-hubmaster.php -text inc/database.php -text inc/database/.htaccess -text inc/database/lib-local.php -text -inc/devel/.htaccess -text -inc/devel/class_Debug.php -text inc/file_io.php -text inc/hooks.php -text inc/includes.php -text diff --git a/inc/devel/.htaccess b/inc/devel/.htaccess deleted file mode 100644 index 3a428827..00000000 --- a/inc/devel/.htaccess +++ /dev/null @@ -1 +0,0 @@ -Deny from all diff --git a/inc/devel/class_Debug.php b/inc/devel/class_Debug.php deleted file mode 100644 index ad19e8af..00000000 --- a/inc/devel/class_Debug.php +++ /dev/null @@ -1,53 +0,0 @@ - - * @version 0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Core Developer Team - * @license GNU GPL 3.0 or any newer version - * - * 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 - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -class Debug { - // Constructor - public function __construct () { - // eval()-Befehle debuggen - //define('DEBUG_EVAL', true); - // SimulatorBase debuggen (VORSICHT! SEHR VIELE DEBUG-MELDUNGEN!!!) - //define('DEBUG_CORE', true); - //////// Objekte debuggen (ausgeben) //////// - // Datenbank-Objekt debuggen - //define('DEBUG_DATABASE_OBJ', true); - //////// Alles unteren debuggen //////// - //define('DEBUG_ALL', true); - // Kompressor debuggen - //define('DEBUG_COMPRESSOR', true); - // Datenbankschichten debuggen - //define('DEBUG_DATABASE', true); - // Template-System debuggen - //define('DEBUG_TEMPLATE', true); - // Konfiguration debuggen - //define('DEBUG_CONFIG', true); - } -} - -/** - * Initialize the dummy debug class - */ -$dummy = new Debug(); -unset($dummy); - -// -?> diff --git a/inc/includes.php b/inc/includes.php index 979f16e5..f4088d90 100644 --- a/inc/includes.php +++ b/inc/includes.php @@ -62,11 +62,5 @@ $application = preg_replace('/([^a-z0-9_-])+/i', '', $application); // Set the application name for later usage FrameworkConfiguration::getInstance()->setConfigEntry('app_name', $application); -// Is the devel package included? -if (is_dir(FrameworkConfiguration::getInstance()->getConfigEntry('base_path') . 'inc/devel')) { - // Load all development includes - ClassLoader::getInstance()->scanClassPath('inc/devel'); -} // END - if - // [EOF] ?>