131,15 → 131,15 |
$zip->addFromString('DB//OID.INI', $cont); |
|
$exe_url = 'https://github.com/danielmarschall/oidplus_win95/raw/master/OIDPLUS.exe'; |
$exe = @file_get_contents($exe_url); |
if ($exe == '') { |
$exe = url_get_contents($exe_url); |
if (!$exe) { |
throw new OIDplusException(_L("Cannot download the binary file from GitHub (%1)", $exe_url)); |
} |
$zip->addFromString('OIDPLS32.EXE', $exe); |
|
$exe_url = 'https://github.com/danielmarschall/oidplus_win311/raw/master/OIDPLUS.exe'; |
$exe = @file_get_contents($exe_url); |
if ($exe == '') { |
$exe = url_get_contents($exe_url); |
if (!$exe) { |
throw new OIDplusException(_L("Cannot download the binary file from GitHub (%1)", $exe_url)); |
} |
$zip->addFromString('OIDPLS16.EXE', $exe); |