diff --git a/bin/smartdata/management/command.php b/bin/smartdata/management/command.php index 3d42f92dc38342c9ef644fe8929db88b7858aeb9..f8674797708087d9e713e7aea5d479ff0f65222f 100755 --- a/bin/smartdata/management/command.php +++ b/bin/smartdata/management/command.php @@ -4,34 +4,8 @@ require_once './Console/CommandLine.php'; require_once './Console/CommandLine/Option.php'; require_once './Console/CommandLine/Command.php'; -//require_once __DIR__.'/Console/CommandLine.php'; -//require_once __DIR__.'/Console/CommandLine/Option.php'; -//require_once __DIR__.'/Console/CommandLine/Command.php'; - -//require_once __DIR__.'/../Config.php'; -//use SmartData\Config; - -final class Config -{ - - const MYSQL_SEVERNAME = 'localhost'; - const MYSQL_PORT = 3306; - const MYSQL_DBNAME = 'smartdata_v1'; - const MYSQL_USERNAME = 'smartdata'; - const MYSQL_PASSWORD = '1ol31lSh010mG9wY'; - - const MYSQL_SUPERUSER = 'smartdata_admin'; - const MYSQL_SUPERPASS = '6wg5fbB5fOIuzXcW'; - - const CASSANDRA_SERVERNAME = 'localhost'; - const CASSANDRA_PORT = 9042; - - const CASSANDRA_SUPERUSER = 'cassandra'; - const CASSANDRA_SUPERPASS = 'Pdx#W63$B7-pNv'; //'K#dM841-lwx'; - - const CASSANDRA_KEYSPACE = 'smartdata_v1'; - const CASSANDRA_MAX_ROW_SIZE = 2000000000; //%(Two billion - The max is 2^31) -} +require_once __DIR__.'/../Config.php'; +use SmartData\Config\Config_V1_1 as Config; $parser = new Console_CommandLine(array( 'description' => 'description description description description.',