includes/clientside/jsres.php
changeset 345 4ccdfeee9a11
parent 322 5f1cd51bf1be
child 387 92664d2efab8
equal deleted inserted replaced
344:be6c5fdd9203 345:4ccdfeee9a11
    31   die('// ERROR: File not found: ' . $file);
    31   die('// ERROR: File not found: ' . $file);
    32 
    32 
    33 $everything = file_get_contents($fname);
    33 $everything = file_get_contents($fname);
    34 
    34 
    35 $mtime = filemtime($fname);
    35 $mtime = filemtime($fname);
    36 header('Last-Modified: '.date('D, d M Y H:i:s T', $mtime));
    36 header('Last-Modified: '.enano_date('D, d M Y H:i:s T', $mtime));
    37 header('Content-disposition: attachment; filename=' . $file);
    37 header('Content-disposition: attachment; filename=' . $file);
    38 
    38 
    39 if(defined('ENABLE_COMPRESSION'))
    39 if(defined('ENABLE_COMPRESSION'))
    40 {
    40 {
    41   echo "/*
    41   echo "/*