/**
  * Says if the OS is windows or not
  * @return boolean
  */
 function osIsWindows()
 {
     static $checked = false;
     static $isWindows = false;
     if (!$checked) {
         $isWindows = strtoupper(substr(CopixConfig::getOsName(), 0, 3)) === 'WIN';
         $checked = true;
     }
     return $isWindows;
 }
 /**
  * Indique si l'OS du serveur est Windows ou non
  *
  * @return boolean
  */
 public static function osIsWindows()
 {
     return strtoupper(substr(CopixConfig::getOsName(), 0, 3)) === 'WIN';
 }