diff --git a/composer.json b/composer.json index 67a4986..31b9c2b 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ "src/config.php" ] }, - "require-dev": { + "require": { "topthink/framework": "5.1.x-dev" } } diff --git a/src/Command.php b/src/Command.php index f720dfa..73313c4 100644 --- a/src/Command.php +++ b/src/Command.php @@ -17,7 +17,6 @@ use think\facade\Config; abstract class Command extends \think\console\Command { - protected $config = 'database'; public function getAdapter() {