Chris PeBenito 696b417
Chris PeBenito 696b417
  # the exact path is defined.
Chris PeBenito 696b417
  $fixpath = dirname(__FILE__);
Chris PeBenito 696b417
Chris PeBenito 696b417
  # changes this value according to your uploaded smarty distribution.
Chris PeBenito 696b417
  # don't forget to add trailing back slash
Chris PeBenito 696b417
  # change 'username' to your username on web hosting account
Chris PeBenito 696b417
  define ("SMARTY_DIR", "$fixpath/smarty/");
Chris PeBenito 696b417
Chris PeBenito 696b417
  require_once (SMARTY_DIR."Smarty.class.php");
Chris PeBenito 696b417
  $smarty = new Smarty;
Chris PeBenito 9b57ae7
  #$smarty->compile_dir = "/home/kmacmillan/public_html/t_c";
Chris PeBenito 7abb9e3
  $smarty->compile_dir = "/tmp/persistent/serefpolicy";
Chris PeBenito 696b417
  $smarty->template_dir = "$fixpath/html";
Chris PeBenito 696b417
Chris PeBenito 696b417
  $smarty->assign("border", "0");
Chris PeBenito 696b417
Chris PeBenito 696b417
  $menu = array (
Chris PeBenito 696b417
	array("name" => "Home", "url" => "index.php?page=home"),
Chris PeBenito 696b417
	array("name" => "Modules", "url" => "index.php?page=modules"),
Chris PeBenito 696b417
	array("name" => "IPC", "url" => "index.php?page=ipc"),
Chris PeBenito 696b417
	array("name" => "Tutorial", "url"  => "index.php?page=howto")
Chris PeBenito 696b417
  );
Chris PeBenito 696b417
Karl MacMillan a585f31
Chris PeBenito 696b417
  $smarty->assign("menuitems", $menu);
Chris PeBenito 696b417
Chris PeBenito 696b417
Chris PeBenito 696b417
  
Chris PeBenito 696b417
  
Chris PeBenito 696b417
?>