Пример #1
0
 public function load_cib()
 {
     $res = ShellExec::exec_cibadmin();
     if (count($res) < 2) {
         Logger::error('ha', "cib.class.php::get_cib() - An error has occured, please check permissions on ulteo-ovd.conf or if 'cibadmin -Q' work fine");
         return false;
     }
     $this->xml->loadXML(implode("", $res));
     $racine = $this->xml->documentElement;
     $this->get_gen_attribute();
     return true;
 }