예제 #1
0
 protected function add_ADM_ACLOG($id)
 {
     $attrs = array(DTblDefBase::NewSelAttr('useServer', DMsg::ALbl('l_logcontrol'), array(0 => DMsg::ALbl('o_ownlogfile'), 1 => DMsg::ALbl('o_serverslogfile'), 2 => DMsg::ALbl('o_disabled')), false, 'aclogUseServer'), $this->_attrs['fileName3']->dup(NULL, NULL, 'accessLog_fileName'), $this->_attrs['logFormat'], $this->_attrs['logHeaders'], $this->_attrs['rollingSize'], $this->_attrs['keepDays'], DTblDefBase::NewPathAttr('bytesLog', DMsg::ALbl('l_byteslog'), 'file0', 3, 'r', true, 'accessLog_bytesLog'), $this->_attrs['compressArchive']);
     $this->_tblDef[$id] = DTbl::NewIndexed($id, DMsg::ALbl('l_accesslog'), $attrs, 'fileName');
 }
예제 #2
0
 protected function add_LVT_SSL_CLVERIFY($id)
 {
     $attrs = array(DTblDefBase::NewSelAttr('clientVerify', DMsg::ALbl('l_clientverify'), array('0' => 'none', '1' => 'optional', '2' => 'require', '3' => 'optional_no_ca')), DTblDefBase::NewIntAttr('verifyDepth', DMsg::ALbl('l_verifydepth'), true, 0, 100), DTblDefBase::NewTextAttr('crlPath', DMsg::ALbl('l_crlpath'), 'cust'), DTblDefBase::NewTextAttr('crlFile', DMsg::ALbl('l_crlfile'), 'cust'));
     $this->_tblDef[$id] = DTbl::NewRegular($id, DMsg::ALbl('l_clientverify'), $attrs);
 }