private static function sysinfo() { self::$root = L_DIR; $info = array(); /* Get the OS */ $os = strtolower(substr(php_uname('s'), 0, 3)); if ($os == 'lin') { $info['os'] = "linux"; } else { if ($os == 'win') { $info['os'] = "windows"; } else { if ($os == 'mac') { $info['os'] = "mac"; } } } self::$sysinfo = $info; }