コード例 #1
0
    {
        return self::$operating_systems['hurd'];
    }
    public static function is_windows()
    {
        return self::$operating_systems['windows'];
    }
    public static function is_mesa_graphics()
    {
        self::detect_graphics();
        return self::$graphics['mesa'];
    }
    public static function is_ati_graphics()
    {
        self::detect_graphics();
        return self::$graphics['ati'];
    }
    public static function is_nvidia_graphics()
    {
        self::detect_graphics();
        return self::$graphics['nvidia'];
    }
    public static function is_root()
    {
        return phodevi::read_property('system', 'username') == 'root';
    }
}
phodevi::create_vfs();
if (PTS_IS_CLIENT) {
    phodevi::initial_setup();
}