Updated ext_emconf.php for several changed sysext's for release 4.5.1
[Packages/TYPO3.CMS.git] / typo3 / sysext / lowlevel / class.tx_lowlevel_admin_core.php
index 7b212c9..2c7b48f 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2009 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 2009-2011 Kasper Skårhøj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -27,9 +27,9 @@
 /**
  * Core functions for admin
  *
- * $Id: class.tx_lowlevel_admin_core.php 4875 2009-01-27 15:22:12 +0000 (Tue, 27 Jan 2009) kasper $
+ * $Id$
  *
- * @author     Kasper Skårhøj <kasperYYYY@typo3.com>
+ * @author     Kasper Skårhøj <kasperYYYY@typo3.com>
  */
 /**
  * [CLASS/FUNCTION INDEX of SCRIPT]
@@ -38,7 +38,7 @@
 /**
  * Core functions for administration
  *
- * @author     Kasper Skårhøj <kasperYYYY@typo3.com>
+ * @author     Kasper Skårhøj <kasperYYYY@typo3.com>
  * @package TYPO3
  * @subpackage tx_lowlevel
  */
@@ -131,14 +131,14 @@ class tx_lowlevel_admin_core extends t3lib_cli {
                                $this->cli_echo("Unknown toolkey, '".$analysisType."'");
                        break;
                }
-               $this->cli_echo("\n");
+               $this->cli_echo(LF);
        }
 
 
 }
 
-if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/lowlevel/class.tx_lowlevel_admin.php'])       {
-       include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/lowlevel/class.tx_lowlevel_admin.php']);
+if (defined('TYPO3_MODE') && isset($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/lowlevel/class.tx_lowlevel_admin.php'])) {
+       include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/lowlevel/class.tx_lowlevel_admin.php']);
 }
 
 ?>
\ No newline at end of file