/** * @param $view * @throws \Exception */ public function __construct($view) { $this->dom = Dom::run(); $this->imgPath = $_SERVER['REQUEST_SCHEME'] . '://' . $_SERVER['HTTP_HOST'] . '/kernel/resources/img/splash/'; $this->config = Config::run(); $this->config->loadFromFile(Config::getConfPath('splash')); $this->logo = $this->config->getField('logo'); $this->view = $view; $this->view->initConfig('main'); }
public function __construct() { parent::__construct(); $this->splash = Splash::run($this->view); $this->dom = Dom::run(); }