コード例 #1
0
ファイル: Cli.class.php プロジェクト: pthreat/apf-dev
 public static function configureMode(NetConfig &$config, LogInterface &$log)
 {
     $log->debug('[ Specify connection mode ]');
     $log->success('1 = Production');
     $log->warning('0 = Development');
     $config->setIsProduction(Cmd::readInput('mode>', $log));
 }
コード例 #2
0
ファイル: Config.class.php プロジェクト: pthreat/apf-dev
 public function getDatabase()
 {
     return parent::getDatabase();
 }