Permalink
Browse files

Enforcing the cache manifest mime type by manually setting it in PHP.

  • Loading branch information...
1 parent 26910e3 commit 289e0eb0cfa27d57651886d1275468ba71839c14 @taisel taisel committed Jan 6, 2012
Showing with 4 additions and 2 deletions.
  1. +3 −1 gameboy.manifest → gameboy.manifest.php
  2. +1 −1 index.php
@@ -1,4 +1,6 @@
-CACHE MANIFEST
+<?php
+header('Content-Type: text/cache-manifest');
+?>CACHE MANIFEST
CACHE:
js/other/windowStack.js
js/other/terminal.js
View
@@ -24,7 +24,7 @@ function start_processing() {
);
//$this->meta = array('viewport'=>'width=device-width, height=device-height');
$this->style = '@import url("'.$this->server->convert_out_of_set_chars($this->server->url['folder'].CSSDIR.'/GameBoy.css.php').(($this->server->get('border-radius') == 'true') ? '?rounded=true' : '').'");';
- $this->manifest = $this->server->convert_out_of_set_chars($this->server->url['folder'].'gameboy.manifest');
+ $this->manifest = $this->server->convert_out_of_set_chars($this->server->url['folder'].'gameboy.manifest.php');
}
function body_render() {
//Generate the "windowing":

0 comments on commit 289e0eb

Please sign in to comment.