updates
[crypto.git] / scripts / silcdoc / gen_detail.php
index 6e2f8faa6ca031da180b751908d4d2419dbcbcd5..1ab755bf914af622bf80d887350cd63f7e3012a3 100644 (file)
@@ -29,8 +29,7 @@
 
 <?php
 /* Get the actual data for the page */
-if (Is_Readable($page.".html"))
-  require $page.".html";
+require "$page";
 ?>
 
 </font>
@@ -46,9 +45,7 @@ width="99%" align=center>
 /* Get the index for this page */
 $len = strcspn($page, "_");
 $fname = substr($page, 0, $len);
-if (Is_Readable($fname."_index.tmpl"))
-  require $fname."_index.tmpl";
-eit
+require "$fname"."_index.tmpl";
 ?>
 
 </font>