Seditio Source code viewer
Root | Root
./Seditio-Developer/Seditio-177/forums.php
<?PHP

/* ====================
Seditio - Website engine
Copyright Neocrome & Seditio Team
http://www.neocrome.net
http://www.seditio.org
[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;
    }

?>
Presented with Sourceer