1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-17 10:59:49 +01:00

Additional checks

This commit is contained in:
e107steved 2011-03-13 14:15:51 +00:00
parent dc42b3eca3
commit 20704a1278
4 changed files with 24 additions and 0 deletions

View File

@ -13,6 +13,12 @@
*/
require_once('../../class2.php');
$e107 = e107::getInstance();
if (!$e107->isInstalled('forum'))
{
header('Location: '.e_BASE.'index.php');
exit;
}
require_once(e_PLUGIN.'forum/forum_class.php');
$forum = new e107forum;

View File

@ -13,6 +13,12 @@
*/
require_once('../../class2.php');
$e107 = e107::getInstance();
if (!$e107->isInstalled('forum'))
{
header('Location: '.e_BASE.'index.php');
exit;
}
include_lan(e_PLUGIN.'forum/languages/'.e_LANGUAGE.'/lan_forum_post.php');

View File

@ -13,6 +13,12 @@
*/
require_once('../../class2.php');
$e107 = e107::getInstance();
if (!$e107->isInstalled('forum'))
{
header('Location: '.e_BASE.'index.php');
exit;
}
//TODO: Investigate the queries used here

View File

@ -13,6 +13,12 @@
*/
require_once("../../class2.php");
$e107 = e107::getInstance();
if (!$e107->isInstalled('forum'))
{
header('Location: '.e_BASE.'index.php');
exit;
}
if(!USER)
{