Example #1
0
*/
$libConfig = new LibConfig();
$libAssociation = new \vcms\LibAssociation();
$libCronjobs = new \vcms\LibCronjobs();
$libDb = new \vcms\LibDb();
$libEvent = new \vcms\LibEvent();
$libFilesystem = new \vcms\LibFilesystem(__DIR__ . '/../..');
$libForm = new \vcms\LibForm();
$libGallery = new \vcms\LibGallery();
$libGenericStorage = new \vcms\LibGenericStorage();
$libGlobal = new \vcms\LibGlobal();
$libHttp = new \vcms\LibHttp();
$libImage = new \vcms\LibImage();
$libMail = new \vcms\LibMail();
$libPerson = new \vcms\LibPerson();
$libModuleHandler = new \vcms\LibModuleHandler();
$libModuleParser = new \vcms\LibModuleParser();
$libSecurityManager = new \vcms\LibSecurityManager();
$libString = new \vcms\LibString();
$libTime = new \vcms\LibTime();
/*
* init modules
*/
$libModuleHandler->initModules();
/*
* set timezone
*/
if (isset($libConfig->timezone) && $libConfig->timezone != '') {
    date_default_timezone_set($libConfig->timezone);
} else {
    date_default_timezone_set('Europe/Berlin');
Example #2
0
function refreshModuleHandler()
{
    global $libModuleHandler;
    $libModuleHandler = new \vcms\LibModuleHandler();
    $libModuleHandler->initModules();
}