$records=$this->db->queryAllRecords('SELECT * FROM '.$conf['mysql']['master_database'].'.server_ip WHERE server_id = '.$conf['server_id']." AND virtualhost = 'y'");
$ip_addresses=array();
if(is_array($records)&&count($records)>0){
foreach($recordsas$rec){
if($rec['ip_type']=='IPv6'){
...
...
@@ -661,15 +663,17 @@ class installer_dist extends installer_base {
$records=$this->db->queryAllRecords('SELECT * FROM '.$conf['mysql']['master_database'].'.server_ip WHERE server_id = '.$conf['server_id']." AND virtualhost = 'y'");
$records=$this->db->queryAllRecords('SELECT * FROM '.$conf['mysql']['master_database'].'.server_ip WHERE server_id = '.$conf['server_id']." AND virtualhost = 'y'");
$ip_addresses=array();
if(is_array($records)&&count($records)>0){
foreach($recordsas$rec){
if($rec['ip_type']=='IPv6'){
...
...
@@ -676,15 +678,17 @@ class installer_dist extends installer_base {
if(!($level&error_reporting())&&$level!=KILL)return;// binary AND checks for reporting level
$error_codes=array(
'VT_ERROR_NOFILE'=>'vlibTemplate Error: Template ('.$extra.') file not found.',
'VT_ERROR_PARSE'=>'vlibTemplate Error: Parse error!<br>To debug this file, use vlibTemplateDebug instead of vlibTemplate in the class instantiation(i.e. new vlibTemplateDebug).',
'VT_NOTICE_INVALID_TAG'=>'vlibTemplate Notice: Invalid tag ('.$extra.').',
'VT_ERROR_INVALID_TAG'=>'vlibTemplate Error: Invalid tag ('.$extra.'). To disable this you must turn of the STRICT option.',
'VT_ERROR_WRONG_NO_PARAMS'=>'vlibTemplate Warning: Wrond parameter count passed to '.$extra.'.',
'VT_ERROR_UNKNOWN_VAR'=>'vlibTemplate Error: template var not found.',
'VT_ERROR_NO_CACHE_WRITE'=>'vlibTemplate Error: unable to write to cache file ('.$extra.').',
'VT_ERROR_WRONG_CACHE_TYPE'=>'vlibTemplate Error: non-directory file found in cache root with same name as directory ('.$extra.').',
'VT_ERROR_CACHE_MKDIR_FAILURE'=>'vlibTemplate Error: failed to create directory in cache root ('.$extra.').',
'VT_WARNING_NOT_CACHE_OBJ'=>'vlibTemplate Warning: called a vlibTemplateCache function ('.$extra.') without instantiating the vlibTemplateCache class.',
'VT_WARNING_LOOP_NOT_SET'=>'vlibTemplate Warning: called vlibTemplate::addRow() or vlibTemplate::addLoop() with an invalid loop name.',
'VT_WARNING_INVALID_RESOURCE'=>'vlibTemplate Warning: Invalid resource type passed to vlibTemplate::setDbLoop() for Db "'.$extra.'".',
'VT_WARNING_INVALID_LOOP_DB'=>'vlibTemplate Warning: Invalid Db type passed to vlibTemplate::setDbLoop(), "'.$extra.'" not currently available.',
'VT_WARNING_INVALID_IF_OP'=>'vlibTemplate Warning: The Operator "'.$extra.'" is not supported by vlibTemplate.'