--- index.php 2001/11/05 10:10:51 1.13 +++ index.php 2001/11/07 09:59:40 1.14 @@ -12,13 +12,13 @@ $main_file=$section; require("inc/section.php"); - include("common.inc"); - include("find_html_file.inc"); +include("fix_msshit.inc"); if (isset($h) && file_exists(find_html_file("h/$section",$h))) { $main=join('',file(find_html_file("h/$section",$h))); + $main=fix_msshit($main); if ($menu_item) { $title.=" : $menu_item"; } @@ -35,13 +35,13 @@ if (find_html_file("static/$d[0]",$d[1])) { $main=join('',file(find_html_file("static/$d[0]",$d[1]))); // fix entities from MS programs - include("fix_msshit.inc"); $main=fix_msshit($main); } else { $main="Can't find static/$d[0]/$d[1]"; } } elseif (find_html_file("h",$section)) { $main=join('',file(find_html_file("h",$section))); + $main=fix_msshit($main); if (file_exists("sections/$section.inc")) { include("sections/$section.inc"); }