}
} elseif (@$_GET['tools']=='access' && $_SESSION['creds']['user_level'] > 100) {
- require_once("smarty/Smarty.class.php");
+ require_once(SQUASHER_SMARTY);
$smarty = new Smarty;
$squashweb->remove_users($_POST['u']);
if ($type=="new")
$squashweb->insert_users($_POST['u'], $_SESSION['creds']['user_level']);
- require_once("smarty/Smarty.class.php");
+ require_once(SQUASHER_SMARTY);
$smarty = new Smarty;
$logtype=@$_GET['logtype'];
if (!$logtype)
$logtype = 'all';
- require_once("smarty/Smarty.class.php");
+ require_once(SQUASHER_SMARTY);
$smarty = new Smarty;
} else {
//show overview
- require_once("smarty/Smarty.class.php");
+ require_once(SQUASHER_SMARTY);
$smarty = new Smarty;