WordPress.org

Plugin Directory


Ignore:
Timestamp:
07/21/09 01:53:02 (8 years ago)
Author:
mark8barnes
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tng-wordpress-plugin/trunk/tng.php

    r101344 r137233  
    55Description: Integrates TNG (The Next Generation of Genealogy) with Wordpress. 
    66Author: Mark Barnes 
    7 Version: 0.25.2 
     7Version: 0.25.3 
    88Author URI: http://www.4-14.org.uk/ 
    99Copyright (c) 2008 Mark Barnes 
     
    7575            $code = file_get_contents ($filename); 
    7676            header("Content-Length: ".filesize($filename)); 
    77             header("Content-type: ". mime_content_type($filename)); 
    7877            if (mbtng_extension() == 'css') { 
     78                header("Content-type: text/css"); 
    7979                $lines = explode("\n",$code); 
    8080                $newcode = ''; 
     
    8686                } 
    8787                $code = $newcode; 
    88             } 
     88            } else 
     89                header("Content-type: ". mime_content_type($filename)); 
    8990            $lastModifiedDate = filemtime($filename); 
    9091            if ($template['timestamp'] > $lastModifiedDate) 
Note: See TracChangeset for help on using the changeset viewer.