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');
 }
Example #2
0
 protected function add_V_TOPD($id)
 {
     $attrs = array(DTblDefBase::NewTextAttr('name', DMsg::ALbl('l_vhname'), 'vhname', false, 'vhName'), DTblDefBase::NewTextAttr('vhRoot', DMsg::ALbl('l_vhroot'), 'cust', false), DTblDefBase::NewPathAttr('configFile', DMsg::ALbl('l_configfile'), 'filevh', 3, 'rwc', false), $this->_attrs['note'], $this->_attrs['vh_allowSymbolLink'], $this->_attrs['vh_enableScript'], $this->_attrs['vh_restrained'], $this->_attrs['vh_maxKeepAliveReq'], $this->_attrs['vh_smartKeepAlive'], $this->_attrs['vh_setUIDMode'], $this->_attrs['staticReqPerSec'], $this->_attrs['dynReqPerSec'], $this->_attrs['outBandwidth'], $this->_attrs['inBandwidth']);
     $this->_tblDef[$id] = DTbl::NewIndexed($id, DMsg::ALbl('l_vhost'), $attrs, 'name');
 }