This commit is contained in:
rsgrinko committed 2022-06-21 20:44:27 +03:00
1 parent 91a01fca41
commit b33dbbf6a1
4 files changed
+12

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) /index.php?route=$1 [QSA,L]
</IfModule>
+2
View File
@@ -38,6 +38,8 @@
}
});
require_once __DIR__ . '/routes.php';
Cache::init(ROOT_PATH . '/core/cache/', USE_CACHE);
// очистка кэша
+2
View File
@@ -0,0 +1,2 @@
<?php
// routes...
+1
View File
@@ -55,6 +55,7 @@
<div class="row justify-content-md-center">
<div class="col-md">
<?php
echo $_REQUEST['route'] . '<br>';
if (User::isAuthorized()) {
global $USER;
echo str_replace('<table style="', '<table style="width:100%;', SystemFunctions::arrayToTable($USER->getAllUserData(), 'Информация о пользователе'));