Пример #1
0
 public function loadMainTemplate()
 {
     Logger::Log("Main Controller")->addInfo("load main template");
     $posts = FactoryRegistry::posts();
     $this->template('main');
 }
Пример #2
0
 public function run()
 {
     Logger::Log()->addInfo("running");
     parent::run();
 }