Fix path to constants.php in Command.php

This commit is contained in:
DariusIII
2016-07-18 09:58:45 +02:00
parent 71c9a8f162
commit d7cd7bcbb8
+3 -1
View File
@@ -21,6 +21,8 @@
namespace app\extensions\console;
use lithium\data\DocumentSchema;
class Command extends \lithium\console\Command
{
protected $_classes = [
@@ -31,7 +33,7 @@ class Command extends \lithium\console\Command
{
$defaults = ['request' => null, 'response' => [], 'classes' => $this->_classes];
parent::__construct($config + $defaults);
require_once NN_ROOT . 'constants.php';
require_once NN_LIB . 'constants.php';
}
public function info($text)