Subversion Repositories oidplus

Rev

Rev 778 | Rev 977 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 778 Rev 963
Line 121... Line 121...
121
 
121
 
122
        $zip->addFromString("$dos_id.OID", $cont);
122
        $zip->addFromString("$dos_id.OID", $cont);
123
}
123
}
124
 
124
 
125
$exe_url = 'https://github.com/danielmarschall/oidplus_dos/raw/master/OIDPLUS.EXE';
125
$exe_url = 'https://github.com/danielmarschall/oidplus_dos/raw/master/OIDPLUS.EXE';
126
$exe = @file_get_contents($exe_url);
126
$exe = url_get_contents($exe_url);
127
if ($exe == '') {
127
if (!$exe) {
128
        throw new OIDplusException(_L("Cannot download the binary file from GitHub (%1)", $exe_url));
128
        throw new OIDplusException(_L("Cannot download the binary file from GitHub (%1)", $exe_url));
129
}
129
}
130
$zip->addFromString('OIDPLUS.EXE', $exe);
130
$zip->addFromString('OIDPLUS.EXE', $exe);
131
 
131
 
132
$zip->close();
132
$zip->close();