/** * Initializes the framework * @param string $Request used to understand the environment. You can re-apply this value to run, but this here should be your URL. * */ public function Init($Request) { jf::$BaseRequest = $Request; $this->LoadCoreModules(); //core modules if (defined("jfembed")) { jf::$RunMode->Add(\RunModes::Embed); } $this->LoadApplicationConfiguration(); $this->LoadLibraries(); $this->Started = true; if (!jf::$RunMode->IsEmbed()) { return $this->Run(); } }