forked from Basti-sama/Bengine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
refdir.php
33 lines (29 loc) · 947 Bytes
/
refdir.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
/**
* Assures anonym refering to hide session id.
*
* @package Bengine
* @copyright Copyright protected by / Urheberrechtlich geschützt durch "Sebastian Noll" <snoll@4ym.org>
* @version $Id: refdir.php 8 2010-10-17 20:55:04Z secretchampion $
*/
require_once("./global.inc.php");
new Core();
if($url = Core::getRequest()->getGET("url"))
{
Core::getTPL()->assign("link", $url);
Core::getTPL()->assign("charset", CHARACTER_SET);
Core::getTPL()->addHTMLHeaderFile("game.css", "css");
$pageTitle = array();
if($titlePrefix = Core::getConfig()->get("TITLE_PREFIX"))
{
$pageTitle[] = $titlePrefix;
}
$pageTitle[] = Core::getConfig()->get("pagetitle");
if($titleSuffix = Core::getConfig()->get("TITLE_SUFFIX"))
{
$pageTitle[] = $titleSuffix;
}
Core::getTPL()->assign("pageTitle", implode(Core::getConfig()->get("TITLE_GLUE"), $pageTitle));
Core::getTPL()->display("externlink", true);
}
?>