1
0
forked from qwerty/milfs

correcion en visualizacion de imagenes

This commit is contained in:
humano 2020-03-17 16:36:44 -05:00
parent cb830a0f7c
commit 0dec640d08

View File

@ -21,9 +21,11 @@ if ((!$file=realpath($dir.$_GET['file']))
$ref=@$_SERVER['HTTP_REFERER']; $ref=@$_SERVER['HTTP_REFERER'];
if (strpos($ref,'https://')===0 || strpos($ref,'https')!==0){ if (strpos($ref,'https://')===0 || strpos($ref,'https')!==0){
$mime=array( $mime=array(
'PEG'=>'image/jpeg',
'JPEG'=>'image/jpeg', 'JPEG'=>'image/jpeg',
'JPG'=>'image/jpeg', 'JPG'=>'image/jpeg',
'jpg'=>'image/jpeg', 'jpg'=>'image/jpeg',
'peg'=>'image/jpeg',
'jpeg'=>'image/jpeg', 'jpeg'=>'image/jpeg',
'png'=>'image/png', 'png'=>'image/png',
'PNG'=>'image/png', 'PNG'=>'image/png',