Show
Ignore:
Timestamp:
07/23/08 16:20:57 (4 months ago)
Author:
shotamchay
Message:

there is no more error when loading configuration files

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/centreon/www/include/configuration/configLoad/DB-Func.php

    r5397 r5850  
    553553                        foreach ($tmpConf as $key=>$value)      { 
    554554                                switch($key)    { 
    555                                         case "use" : $use = trim($tmpConf[$key]); unset ($tmpConf[$key]); break; 
     555                                        case "use" : $use = trim($tmpConf[$key]); /*unset ($tmpConf[$key])*/; break; 
    556556                                        case "name" : $tmpConf["host_name"] = $tmpConf[$key]; unset ($tmpConf[$key]); break; 
    557557                                        case "alias" : $tmpConf["host_alias"] = $tmpConf[$key]; unset ($tmpConf[$key]); break; 
     
    644644                        $tmpConf["ehi_statusmap_image"] = NULL; 
    645645                        $tmpConf["ehi_2d_coords"] = NULL; 
    646                         $tmpConf["ehi_3d_coords"] = NULL; 
     646                        $tmpConf["ehi_3d_coords"] = NULL;                        
    647647                        $useTpl[0] = insertHostInDB($tmpConf); 
    648648                        $useTpl[1] = $use;