Beispiel #1
0
 public function init()
 {
     //$startTime = microtime(true);
     langBup::init();
     reqBup::init();
     $this->_extractTables();
     $this->_extractModules();
     $this->_initModules();
     $this->_execModules();
     add_action('init', array($this, 'addScripts'));
     add_action('init', array($this, 'addStyles'));
     register_uninstall_hook(BUP_DIR . DS . BUP_MAIN_FILE, array('utilsBup', 'deletePlugin'));
     register_activation_hook(BUP_DIR . DS . BUP_MAIN_FILE, array('utilsBup', 'activatePlugin'));
     //See classes/install.php file
     add_action('admin_notices', array('errorsBup', 'displayOnAdmin'));
     add_action('init', array($this, 'connectLang'));
     //var_dump($this->getActivationErrors());
     //$operationTime = microtime(true) - $startTime;
 }