{
"inbounds": [
{
"port": 8443,
"protocol": "vless",
"settings": {
"clients": [
{
"id": "c6d44e18-0bdb-4f56-9862-4f00c1b4862e"
}
],
"decryption": "none"
},
"streamSettings": {
"network": "tcp",
"security": "none"
}
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {}
}
]
}
Cron заботится о запуске периодических задач для очистки очереди почты и обновления статистики.
2024-08-28 10:48:08 [11.22.85.242][-][-][error][application] Error sending e-mails.
2024-08-28 10:48:01 [11.22.85.242][-][-][info][application] $_GET = [
// comment out the following two lines when deployed to production
defined('YII_DEBUG') or define('YII_DEBUG', true);
defined('YII_ENV') or define('YII_ENV', 'dev');
2024-08-28 10:56:33 [111.222.227.152][2][-][warning][yii\debug\Module::checkAccess] Access to debugger is denied due to IP address restriction. The requesting IP address is 111.222.227.152
in /var/www/data/www/form/app/views/layouts/public.php:39
in /var/www/data/www/form/app/controllers/AppController.php:277
2024-08-28 10:56:33 [111.222.227.152][2][-][warning][yii\debug\Module::checkAccess] Access to debugger is denied due to IP address restriction. The requesting IP address is 111.222.227.152
2024-08-28 10:56:33 [111.222.227.152][2][-][info][application] $_GET = [
if (YII_ENV_DEV && YII_DEBUG) {
// configuration adjustments for 'dev' environment
$config['bootstrap'][] = 'debug';
$config['modules']['debug'] = 'yii\debug\Module';
$config['bootstrap'][] = 'gii';
$config['modules']['gii'] = 'yii\gii\Module';
}
if (YII_ENV_DEV && YII_DEBUG) {
// configuration adjustments for 'dev' environment
$config['bootstrap'][] = 'debug';
$config['modules']['debug'] = [
'class' => 'yii\debug\Module',
'allowedIPs' => ['127.0.0.1', '::1', '111.222.227.152'],
];
$config['bootstrap'][] = 'gii';
$config['modules']['gii'] = 'yii\gii\Module';
}
DROP TABLE IF EXISTS `modx_access_policy_template_groups`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `modx_access_policy_template_groups` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL DEFAULT '',
`description` mediumtext,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `modx_access_policy_template_groups`
--
LOCK TABLES `modx_access_policy_template_groups` WRITE;
/*!40000 ALTER TABLE `modx_access_policy_template_groups` DISABLE KEYS */;
INSERT INTO `modx_access_policy_template_groups` VALUES (1,'Admin','All admin policy templates.'),(2,'Object','All Object-based policy templates.'),(3,'Resource','All Resource-based policy templates.'),(4,'Element','All Element-based policy templates.'),(5,'MediaSource','All Media Source-based policy templates.'),(6,'Namespace','All Namespace based policy templates.');
/*!40000 ALTER TABLE `modx_access_policy_template_groups` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `modx_access_policy_templates`
html {
font-family: sans-serif;
line-height: 1.15;
-webkit-text-size-adjust: 100%;
-webkit-tap-highlight-color: transparent;
}
https://https://site.ru/contact/?tpl=callback
/core/elements/templates
и туда поместил
всю верстку, переименовав index.html , в index.tpl
в самом шаблоне {include 'file:templates/index.tpl'}
Но мне ж нужно фукционал подключить, там TV поля те же подключить и т.д. чтоб админить как то эту страинцу.
В целом такой подход ок? или верстку делить на чанки и них собирать шаблон?