Moving requiring of WCF.class.php
authorTim Düsterhus <duesterhus@woltlab.com>
Mon, 5 Nov 2012 20:50:23 +0000 (21:50 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Mon, 5 Nov 2012 20:50:23 +0000 (21:50 +0100)
wcfsetup/install/files/cli.php
wcfsetup/install/files/lib/system/CLIWCF.class.php

index 894a3922e99fd65d9899883639eff1826c02995b..6dd2c2eb8804815727f764024052826b45299b6a 100644 (file)
@@ -4,11 +4,12 @@
  * @copyright  2001-2011 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
  * @package    com.woltlab.wcf
- * @category   Community Framework
+ * @category   Community Framework
  */
 // define the wcf-root-dir
 define('WCF_DIR', dirname(__FILE__).'/');
 
 // initiate wcf core
+require_once(WCF_DIR.'lib/system/WCF.class.php');
 require_once(WCF_DIR.'lib/system/CLIWCF.class.php');
 new wcf\system\CLIWCF();
index 1773473bc1c06f90b5165587ba59fc171614f9a8..782186d7590b434fcf29a36f8a0dfa7c5e841d7d 100644 (file)
@@ -1,6 +1,5 @@
 <?php
 namespace wcf\system;
-require_once('WCF.class.php');
 use phpline\console\ConsoleReader;
 use phpline\TerminalFactory;
 use wcf\system\cli\DatabaseCommandHistory;