Subversion Repositories oidplus

Rev

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

Rev 1148 Rev 1149
Line 166... Line 166...
166
 
166
 
167
$zip->addFromString('DB//OID.INI', $cont);
167
$zip->addFromString('DB//OID.INI', $cont);
168
 
168
 
169
$exe_url = 'https://github.com/danielmarschall/oidplus_win95/raw/master/OIDPLUS.exe';
169
$exe_url = 'https://github.com/danielmarschall/oidplus_win95/raw/master/OIDPLUS.exe';
170
$exe = url_get_contents($exe_url);
170
$exe = url_get_contents($exe_url);
171
if (!$exe) {
171
if ($exe === false) {
172
        throw new OIDplusException(_L("Cannot download the binary file from GitHub (%1)", $exe_url));
172
        throw new OIDplusException(_L("Cannot download the binary file from GitHub (%1)", $exe_url));
173
}
173
}
174
$zip->addFromString('OIDPLS32.EXE', $exe);
174
$zip->addFromString('OIDPLS32.EXE', $exe);
175
 
175
 
176
$exe_url = 'https://github.com/danielmarschall/oidplus_win311/raw/master/OIDPLUS.exe';
176
$exe_url = 'https://github.com/danielmarschall/oidplus_win311/raw/master/OIDPLUS.exe';
177
$exe = url_get_contents($exe_url);
177
$exe = url_get_contents($exe_url);
178
if (!$exe) {
178
if ($exe === false) {
179
        throw new OIDplusException(_L("Cannot download the binary file from GitHub (%1)", $exe_url));
179
        throw new OIDplusException(_L("Cannot download the binary file from GitHub (%1)", $exe_url));
180
}
180
}
181
$zip->addFromString('OIDPLS16.EXE', $exe);
181
$zip->addFromString('OIDPLS16.EXE', $exe);
182
 
182
 
183
$zip->close();
183
$zip->close();