selinux-policy/www/libs.inc.php

32 lines
879 B
PHP
Raw Normal View History

2005-05-17 19:51:41 +00:00
<?php
# the exact path is defined.
$fixpath = dirname(__FILE__);
# changes this value according to your uploaded smarty distribution.
# don't forget to add trailing back slash
# change 'username' to your username on web hosting account
define ("SMARTY_DIR", "$fixpath/smarty/");
require_once (SMARTY_DIR."Smarty.class.php");
$smarty = new Smarty;
2005-06-15 21:23:40 +00:00
#$smarty->compile_dir = "/home/kmacmillan/public_html/t_c";
$smarty->compile_dir = "/tmp/persistent/serefpolicy";
2005-05-17 19:51:41 +00:00
$smarty->template_dir = "$fixpath/html";
$smarty->assign("border", "0");
$menu = array (
array("name" => "Home", "url" => "index.php?page=home"),
array("name" => "Modules", "url" => "index.php?page=modules"),
array("name" => "IPC", "url" => "index.php?page=ipc"),
array("name" => "Tutorial", "url" => "index.php?page=howto")
);
2005-06-15 13:39:02 +00:00
2005-05-17 19:51:41 +00:00
$smarty->assign("menuitems", $menu);
?>