routes
This commit is contained in:
1 parent
91a01fca41
commit
b33dbbf6a1
4 files changed
+12
No files matched your search
@@ -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>
|
||||
@@ -38,6 +38,8 @@
|
||||
}
|
||||
});
|
||||
|
||||
require_once __DIR__ . '/routes.php';
|
||||
|
||||
Cache::init(ROOT_PATH . '/core/cache/', USE_CACHE);
|
||||
|
||||
// очистка кэша
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
<?php
|
||||
// routes...
|
||||
@@ -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(), 'Информация о пользователе'));
|
||||
|
||||
Reference in new issue
Block a user