forked from qwerty/milfs
correcion en visualizacion de imagenes
This commit is contained in:
parent
6c47a5da23
commit
cb830a0f7c
@ -21,8 +21,12 @@ if ((!$file=realpath($dir.$_GET['file']))
|
||||
$ref=@$_SERVER['HTTP_REFERER'];
|
||||
if (strpos($ref,'https://')===0 || strpos($ref,'https')!==0){
|
||||
$mime=array(
|
||||
'JPEG'=>'image/jpeg',
|
||||
'JPG'=>'image/jpeg',
|
||||
'jpg'=>'image/jpeg',
|
||||
'jpeg'=>'image/jpeg',
|
||||
'png'=>'image/png',
|
||||
'PNG'=>'image/png',
|
||||
'mid'=>'audio/x-midi',
|
||||
'wav'=>'audio/x-wav'
|
||||
);
|
||||
|
@ -13,7 +13,7 @@ function delayTimer() {
|
||||
function revisarSession(sesion){
|
||||
tiempo = "30";
|
||||
gavela="19";
|
||||
timestamp = Math.round(Date.now() /1000)
|
||||
timestamp = Math.round(Date.now() /1000);
|
||||
inicio = sesion;//leerCookie("timestamp");
|
||||
transcurrido = (timestamp - inicio);
|
||||
transcurrido_minutos = Math.round(transcurrido/60);
|
||||
|
Loading…
Reference in New Issue
Block a user