mirror of
https://github.com/e107inc/e107.git
synced 2025-03-17 19:09:45 +01:00
Additional checks
This commit is contained in:
parent
dc42b3eca3
commit
20704a1278
@ -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;
|
||||
|
||||
|
@ -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');
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -13,6 +13,12 @@
|
||||
*/
|
||||
|
||||
require_once("../../class2.php");
|
||||
$e107 = e107::getInstance();
|
||||
if (!$e107->isInstalled('forum'))
|
||||
{
|
||||
header('Location: '.e_BASE.'index.php');
|
||||
exit;
|
||||
}
|
||||
|
||||
if(!USER)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user