This commit is contained in:
root@pico committed 2015-05-01 18:05:29 +02:00
1 parent 081b47e563
commit d4a73670cc
1572 files changed
+235147 -96367

No files matched your search

+2 -2
View File
@@ -3,7 +3,7 @@
/**
* Disable error reporting
*
* Set this to error_reporting( E_ALL ) or error_reporting( E_ALL | E_STRICT ) for debugging
* Set this to error_reporting( -1 ) for debugging.
*/
error_reporting(0);
@@ -143,7 +143,7 @@ foreach( $load as $handle ) {
$out .= get_file($path) . "\n";
}
header('Content-Type: application/x-javascript; charset=UTF-8');
header('Content-Type: application/javascript; charset=UTF-8');
header('Expires: ' . gmdate( "D, d M Y H:i:s", time() + $expires_offset ) . ' GMT');
header("Cache-Control: public, max-age=$expires_offset");