reactivate_plugin(); } $soft_disable_message = $ai1ec_exception_handler->get_disabled_message(); if ( false !== $soft_disable_message ) { return $ai1ec_exception_handler->show_notices( $soft_disable_message ); } $prev_er_handler = set_error_handler( array( $ai1ec_exception_handler, 'handle_error' ) ); $prev_ex_handler = set_exception_handler( array( $ai1ec_exception_handler, 'handle_exception' ) ); $ai1ec_exception_handler->set_prev_er_handler( $prev_er_handler ); $ai1ec_exception_handler->set_prev_ex_handler( $prev_ex_handler ); // Regular startup sequence starts here require $ai1ec_base_dir . DIRECTORY_SEPARATOR . 'lib' . DIRECTORY_SEPARATOR . 'bootstrap' . DIRECTORY_SEPARATOR . 'loader.php'; require $ai1ec_base_dir . DIRECTORY_SEPARATOR . 'lib' . DIRECTORY_SEPARATOR . 'global-functions.php'; require $ai1ec_base_dir . DIRECTORY_SEPARATOR . 'lib' . DIRECTORY_SEPARATOR . 'iCal' . DIRECTORY_SEPARATOR . 'iCalcreator-2.24.2' . DIRECTORY_SEPARATOR . 'autoload.php'; require $ai1ec_base_dir . DIRECTORY_SEPARATOR . 'app' . DIRECTORY_SEPARATOR . 'controller' . DIRECTORY_SEPARATOR . 'extension.php'; require $ai1ec_base_dir . DIRECTORY_SEPARATOR . 'app' . DIRECTORY_SEPARATOR . 'controller' . DIRECTORY_SEPARATOR . 'extension-license.php'; $ai1ec_loader = new Ai1ec_Loader( $ai1ec_base_dir ); @ini_set( 'unserialize_callback_func', 'spl_autoload_call' ); spl_autoload_register( array( $ai1ec_loader, 'load' ) ); $ai1ec_front_controller = new Ai1ec_Front_Controller(); $ai1ec_front_controller->initialize( $ai1ec_loader );