Exemplo n.º 1
0
include "./pages/error.php";
include "./pages/profile.php";
include "./pages/manageProfile.php";
include "./pages/imprint.php";
include "./pages/newGroup.php";
include "./pages/manageGroup.php";
include "./pages/editQuestion.php";
include "./pages/editArgument.php";
include "./pages/editCounterArgument.php";
include "./pages/faq.php";
mt_srand(time());
$sRequest = new Request();
$sTimer = new DebugTiming();
$sTimer->start('init');
$sDebug = new Debug();
$sLog = new LogMgr();
$sNotify = new NotificationMgr();
$sDB = new SqlMgr();
$sMD = new MemcachedMgr();
$sQuery = new QueryMgr();
$sSession = new SessionMgr();
$sPermissions = new PermissionsMgr();
$sTemplate = new TemplateMgr();
$sTemplate->getLocale();
$sStatistics = new StatisticsMgr();
$sUser = $sQuery->getCurrentUser();
/*if($sUser->getUserLevel >= USER_LEVEL_ADMIN)
{
    error_reporting(E_ALL ^ E_NOTICE);
}*/
$sTimer->stop('init');
Exemplo n.º 2
0
 *
 * Attribution Information
 * Attribution Phrase (not exceeding 10 words): Powered by Wikiarguments
 * Attribution URL: http://www.wikiarguments.net
 *
 * This display should be, at a minimum, the Attribution Phrase displayed in the
 * footer of the page and linked to the Attribution URL. The link to the Attribution
 * URL must not contain any form of 'nofollow' attribute.
 *
 * Display of Attribution Information is required in Larger Works which are
 * defined in the CPAL as a work which combines Covered Code or portions
 * thereof with code not governed by the terms of the CPAL.
 *******************************************************************************/
include "../../../etc/config.php";
include "../../../etc/common.php";
include "../../../etc/opcodes.php";
include "../../../etc/constants.php";
include "../../../functions.php";
include "../../../sqlMgr.php";
include "../../../templateMgr.php";
include "../../../logMgr.php";
include "../../../debug.php";
include "../../../debugTiming.php";
include "../../../notificationMgr.php";
$sLog = new LogMgr();
$sDebug = new Debug();
$sNotify = new NotificationMgr();
$sDB = new SqlMgr();
$sTemplate = new TemplateMgr();
$lang = @$_GET['lang'];
$sTemplate->getLocale($lang);