Example #1
0
<?php

/**
 * Common inits
 * @author Stefan Seehafer <*****@*****.**>
 * @copyright (c) 2011-2016, Stefan Seehafer
 * @license http://www.gnu.org/licenses/gpl.txt GPLv3
 */
error_reporting(E_ALL);
/**
 * FanPress CM internal checkpoint
 */
define('IN_FPCM', true);
include __DIR__ . '/classes/baseconfig.php';
include __DIR__ . '/classes/timer.php';
include __DIR__ . '/constants.php';
if (FPCM_DEBUG) {
    fpcm\classes\timer::start();
}
include __DIR__ . '/functions.php';
spl_autoload_register('fpcmAutoLoader');
set_error_handler("fpcmErrorHandler");
\fpcm\classes\baseconfig::init();