Merge pull request #44 from EngineGPDev/revert-42-The-admin-panel-files-have-been-moved-to-the-appropriate-section

Revert "The admin panel files have been moved to the appropriate section"
This commit is contained in:
Sergei Solovev 2023-03-21 23:33:00 +03:00 committed by GitHub
commit 58318170b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
130 changed files with 38 additions and 38 deletions

View file

@ -1,51 +1,51 @@
<?php
header('Content-Type: text/html; charset=utf-8');
header('Content-Type: text/html; charset=utf-8');
date_default_timezone_set('Europe/Moscow');
date_default_timezone_set('Europe/Moscow');
@ini_set('display_errors', FALSE);
@ini_set('html_errors', FALSE);
@ini_set('error_reporting', E_ALL ^ E_WARNING ^ E_NOTICE ^ E_STRICT);
@ini_set('display_errors', FALSE);
@ini_set('html_errors', FALSE);
@ini_set('error_reporting', E_ALL ^ E_WARNING ^ E_NOTICE ^ E_STRICT);
DEFINE('EGP', TRUE);
DEFINE('ROOT', '../');
DEFINE('ACP', ROOT.'acp/system/');
DEFINE('ENG', ACP.'engine/');
DEFINE('SEC', ACP.'sections/');
DEFINE('TPL', ROOT.'acp/template/');
DEFINE('TEMP', ROOT.'temp/');
DEFINE('FILES', ROOT.'files/');
DEFINE('SYS', ROOT.'system/');
DEFINE('DATA', SYS.'data/');
DEFINE('LIB', SYS.'library/');
DEFINE('EGP', TRUE);
DEFINE('ROOT', '../');
DEFINE('SYS', ROOT.'system/');
DEFINE('ACP', ROOT.'system/acp/');
DEFINE('TPL', ROOT.'acp/template/');
DEFINE('TEMP', ROOT.'temp/');
DEFINE('FILES', ROOT.'files/');
DEFINE('DATA', SYS.'data/');
DEFINE('LIB', SYS.'library/');
DEFINE('ENG', SYS.'acp/engine/');
DEFINE('SEC', SYS.'acp/sections/');
$start_point = $_SERVER['REQUEST_TIME'];
$start_point = $_SERVER['REQUEST_TIME'];
$mcache = new Memcache;
$mcache->connect('127.0.0.1', 11211) or exit('Ошибка подключения Memcache');
$mcache = new Memcache;
$mcache->connect('127.0.0.1', 11211) or exit('Ошибка подключения Memcache');
// Composer
if (!file_exists(ROOT.'vendor/autoload.php')) {
die('Please <a href="https://getcomposer.org/download/" target="_blank" rel="noreferrer" style="color:#0a25bb;">install composer</a> and run <code style="background:#222;color:#00e01f;padding:2px 6px;border-radius:3px;">composer install</code>');
}
require(ROOT.'vendor/autoload.php');
// Composer
if (!file_exists(ROOT.'vendor/autoload.php')) {
die('Please <a href="https://getcomposer.org/download/" target="_blank" rel="noreferrer" style="color:#0a25bb;">install composer</a> and run <code style="background:#222;color:#00e01f;padding:2px 6px;border-radius:3px;">composer install</code>');
}
require(ROOT.'vendor/autoload.php');
// Настройки
include(DATA.'config.php');
include(DATA.'mysql.php');
include(DATA.'params.php');
include(DATA.'acpengine.php');
// Настройки
include(DATA.'config.php');
include(DATA.'mysql.php');
include(DATA.'params.php');
include(DATA.'acpengine.php');
// Библиотеки
include(LIB.'sql.php');
include(LIB.'html.php');
include(LIB.'acpsystem.php');
// Библиотеки
include(LIB.'sql.php');
include(LIB.'html.php');
include(LIB.'acpsystem.php');
$uip = sys::ip();
$uip = sys::ip();
// Распределитель
include(ACP.'distributor.php');
// Распределитель
include(ACP.'distributor.php');
// Выхлоп
echo $html->arr['all'];
// Выхлоп
echo $html->arr['all'];
?>

Some files were not shown because too many files have changed in this diff Show more