HtmlGenerator.class.php (365B)
1 <?php 2 3 class HtmlGenerator extends GeneratorBase 4 { 5 function generate() 6 { 7 $file = file(SITES_DIR.SLASH.SITE.SLASH.implode('/',PATH).'.html'); 8 9 lastModified( filemtime(SITES_DIR.SLASH.SITE.SLASH.implode('/',PATH).'.html') ); 10 $html = implode("\n",$file); 11 define('ARTICLE',$html); 12 define('TITLE' ,implode('/',PATH)); 13 $this->outputTheme(); 14 exit; 15 } 16 17 }