Initial version, with no update possibility

This commit is contained in:
Gergely Polonkai (W00d5t0ck)
2010-12-17 15:41:45 +01:00
commit 7c6ed627cc
27 changed files with 1318 additions and 0 deletions

11
smarty_init.php Normal file
View File

@@ -0,0 +1,11 @@
<?php
include $smartyInstallDir . DIRECTORY_SEPARATOR . 'libs' . DIRECTORY_SEPARATOR . 'Smarty.class.php';
$tpl = new Smarty();
$tpl->template_dir = $smartyTemplateDir;
$tpl->compile_dir = $smartyCache;
if (array_key_exists('loginuser', $_SESSION))
{
$tpl->assign('username', $_SESSION['loginuser']);
}