-
Notifications
You must be signed in to change notification settings - Fork 1
/
forums.php
52 lines (42 loc) · 924 Bytes
/
forums.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?PHP
/* ====================
Seditio - Website engine
Copyright Neocrome & Seditio Team
http://www.neocrome.net
http://www.seditiocms.com
[BEGIN_SED]
File=forums.php
Version=177
Updated=2015-feb-06
Type=Core
Author=Neocrome
Description=Forums loader
[END_SED]
==================== */
define('SED_CODE', TRUE);
define('SED_FORUMS', TRUE);
$location = 'Forums';
$z = 'forums';
require('system/functions.php');
require('datas/config.php');
require('system/common.php');
sed_dieifdisabled($cfg['disable_forums']);
switch($m)
{
case 'topics':
require('system/core/forums/forums.topics.inc.php');
break;
case 'posts':
require('system/core/forums/forums.posts.inc.php');
break;
case 'editpost':
require('system/core/forums/forums.editpost.inc.php');
break;
case 'newtopic':
require('system/core/forums/forums.newtopic.inc.php');
break;
default:
require('system/core/forums/forums.inc.php');
break;
}
?>