Browse Source

Update 'src/Views/Main/MainView.php'

master
Martins Eglitis 2 years ago
parent
commit
9561cb3293
1 changed files with 1 additions and 5 deletions
  1. +1
    -5
      src/Views/Main/MainView.php

+ 1
- 5
src/Views/Main/MainView.php View File

@@ -29,11 +29,7 @@ class MainView
{
$root = filter_input(INPUT_SERVER, "DOCUMENT_ROOT");

$config = require $root."/../src/Config/Main.php";

$post = filter_input_array(INPUT_POST);

echo $template = $this->templateModel
echo $this->templateModel
->set("url", $this->urlModel)
->file($root."/../src/Templates/Main/Container.php")
->render();


Loading…
Cancel
Save