tem_load($html_file);
}
+ # files can return a basename or URL of a page to be run/displayed
$other = file_run($php_file);
if($other) {
if(strpos($other, ':')) {
if($sections) foreach($sections as $name => $val) {
$tem->set($name, $val);
}
+
+ if(file_exists("$basename.css")) {
+ $tem->set('css_link', "$basename.css");
+ $tem->sub('css_links');
+ }
+
$GLOBALS['wfpl_template'] = $tem;
}