dead code
[Pman.Core] / Asset.php
index bc1edc3..9b546c0 100644 (file)
--- a/Asset.php
+++ b/Asset.php
@@ -46,7 +46,7 @@ class Pman_Core_Asset extends Pman {
         }
        
         $ext = $bits[0];
-        if (preg_match('/\.map$/',$_REQUEST_URI)) {
+        if (preg_match('/\.map$/',$_SERVER['REQUEST_URI'])) {
             $ext = 'map';
         }
        
@@ -112,7 +112,7 @@ class Pman_Core_Asset extends Pman {
             $fh = fopen($fn,'r');
             fpassthru($fh);
             fclose($fh);
-            $content = $data;
+             
         }