+ function handler_cacert(&$page)
+ {
+ $data = file_get_contents("/etc/ssl/xorgCA/cacert.pem","r");
+ header("Pragma:");
+ header("Set-Cookie:");
+ header("Cache-Control:");
+ header("Expires:");
+ header("Content-Type: application/x-x509-ca-cert");
+ header("Content-Length: ".strlen($data));
+ echo $data;
+ exit;
+ }
+
+ function handler_changelog(&$page)
+ {
+ $page->changeTpl('platal/changeLog.tpl');
+
+ $clog = htmlentities(file_get_contents(dirname(__FILE__).'/../ChangeLog'));
+ $clog = preg_replace('!(#[0-9]+(,[0-9]+)*)!e', 'bugize("\1")', $clog);
+ $clog = preg_replace('!vim:.*$!', '', $clog);
+ $page->assign('ChangeLog', $clog);
+ }
+
+ function __set_rss_state($state)
+ {