FIX: InfoController

This commit is contained in:
Evg 2021-12-01 18:49:35 +03:00
parent c9a2fbbbb3
commit 1a2cf06040
2 changed files with 4 additions and 2 deletions

View file

@ -2,6 +2,7 @@
namespace App\Controllers;
use Hleb\Constructor\Handlers\Request;
use Hleb\Scheme\App\Controllers\MainController;
use Content, Base, Translate, Config;
@ -19,7 +20,7 @@ class InfoController extends MainController
// Далее методы по названию страниц
public function index()
{
$text = file_get_contents(static::$path . Config::get('general.template') . '/info/md/index.md');
$text = file_get_contents(static::$path . Config::get('general.template') . '/content/info/md/index.md');
$m = [
'og' => false,
@ -43,7 +44,7 @@ class InfoController extends MainController
public function privacy()
{
$text = file_get_contents(static::$path . Config::get('general.template') . '/info/md/privacy.md');
$text = file_get_contents(static::$path . Config::get('general.template') . '/content/info/md/privacy.md');
$m = [
'og' => false,
@ -85,4 +86,5 @@ class InfoController extends MainController
]
);
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 302 B