/** * Método principal que inicia el sistema * @author Julian Lasso <*****@*****.**> * @version 1.0.0 */ public function run() { try { $this->loadBasicFiles(); $this->setRouting(); $this->loadAndExecutePlugins(); $this->loadModuleAndAction(); $this->executeController(); $this->renderView(); } catch (PDOException $exc) { require_once $this->config->getPath() . 'controller/FStudio/FStudioController.class.php'; $this->controller = new \FStudioController($this->config); $this->controller->exception($exc); $this->renderView(); } }