Merge branch 'ticket-11985-MondialRelay_part2' into develop
0
modules/logistics/assets/AccessInter.bmp
Normal file → Executable file
Before Width: | Height: | Size: 7.9 KiB After Width: | Height: | Size: 7.9 KiB |
0
modules/logistics/assets/AccessInterBic3.bmp
Normal file → Executable file
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
0
modules/logistics/assets/COLISSIMOI.bmp
Normal file → Executable file
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
0
modules/logistics/assets/ColissimoAccessI.bmp
Normal file → Executable file
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
BIN
modules/logistics/assets/DPD.bmp
Executable file
After Width: | Height: | Size: 3.1 KiB |
0
modules/logistics/assets/EXASANTE.bmp
Normal file → Executable file
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
0
modules/logistics/assets/ExpertInterBic3.bmp
Normal file → Executable file
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
0
modules/logistics/assets/ExpresBic3.bmp
Normal file → Executable file
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
BIN
modules/logistics/assets/ICICOLIS.bmp
Normal file → Executable file
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
0
modules/logistics/assets/ICIRELAIS.bmp
Normal file → Executable file
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
BIN
modules/logistics/assets/MONDIALR.bmp
Executable file
After Width: | Height: | Size: 2.0 KiB |
0
modules/logistics/assets/PortPayeBic3.bmp
Normal file → Executable file
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
0
modules/logistics/assets/PrioritaireBic3.bmp
Normal file → Executable file
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
0
modules/logistics/assets/SOBelgiqueBic3.bmp
Normal file → Executable file
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
0
modules/logistics/assets/ScanBic3.bmp
Normal file → Executable file
Before Width: | Height: | Size: 342 B After Width: | Height: | Size: 342 B |
BIN
modules/logistics/assets/arial.ttf
Executable file
BIN
modules/logistics/assets/arialbd.ttf
Executable file
BIN
modules/logistics/assets/c128.ttf
Executable file
BIN
modules/logistics/assets/c25I.ttf
Executable file
@ -49,3 +49,25 @@ if(isset($_GET['secret']) && $_GET['secret'] == 'YjRcQBX75daSyKVn') {
|
||||
exit;
|
||||
}
|
||||
}
|
||||
elseif (isset($_GET['secret']) && $_GET['secret'] == '6yY84Hnb8EMkejH'){
|
||||
$assets['arial.ttf'] = array('f11c0317db527bdd80fa0afa04703441', 'ARIAL', '23');
|
||||
$assets['arialbd.ttf'] = array('34cd8fd9e4fae9f075d4c9a2c971d065', 'ARIALB', '24');
|
||||
$assets['c128.ttf'] = array('ba8fb8ca3722a9fae58fdb68a7941838', 'C128', '25');
|
||||
$assets['MONDIALR.bmp'] = array('646870e548bc1b32ab21a834f73bc4c1', 'MONDIALR');
|
||||
$assets['c25I.ttf'] = array('10c0373007ee334c148d0e8594188a1b', 'C25I', '26');
|
||||
|
||||
if(isset($_GET['file']) && isset($assets[$_GET['file']])) {
|
||||
header('Content-Type: image/bmp');
|
||||
header('Expires: 0');
|
||||
header('Cache-Control: must-revalidate');
|
||||
header('Pragma: public');
|
||||
header('Content-Length: '.filesize(dirname(__FILE__).'/assets/'.$_GET['file']));
|
||||
ob_clean();
|
||||
flush();
|
||||
readfile(dirname(__FILE__).'/assets/'.$_GET['file']);
|
||||
exit;
|
||||
} else {
|
||||
echo json_encode($assets);
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|