pedro_morgan
2007-08-17 5fcaec01d8d2b22eb6ebc8f320b8dd45db0d409a
interface/web/index.php
@@ -32,8 +32,9 @@
require_once('../lib/app.inc.php');
$app->uses('tpl');
$app->tpl->newTemplate("main.tpl.htm");
$app->tpl->newTemplate('main.tpl.htm');
/*
// Checke User Login and current module
if(!is_array($_SESSION["s"]['user']) or !is_array($_SESSION["s"]["module"])) {
@@ -91,6 +92,8 @@
$app->tpl->setVar('startpage',$_SESSION["s"]["module"]["startpage"]);
$app->tpl->setVar('navframe_page',$_SESSION["s"]["module"]["navframe_page"]);
*/
$app->tpl_defaults();
$app->tpl->pparse();
?>