generated from mirzaev/pot-php
FIXED ANDROID DEAD SCREENS. PIZDEC
This commit is contained in:
@@ -26,7 +26,7 @@
|
|||||||
"require": {
|
"require": {
|
||||||
"php": "^8.5",
|
"php": "^8.5",
|
||||||
"ext-blake3": "^0.1",
|
"ext-blake3": "^0.1",
|
||||||
"mirzaev/minimal": "^3.8",
|
"mirzaev/minimal": "^3.10.4",
|
||||||
"mirzaev/baza": "^3.4",
|
"mirzaev/baza": "^3.4",
|
||||||
"mirzaev/languages": "^1",
|
"mirzaev/languages": "^1",
|
||||||
"twig/twig": "^3.2",
|
"twig/twig": "^3.2",
|
||||||
|
|||||||
@@ -132,8 +132,15 @@ final class project extends core
|
|||||||
*/
|
*/
|
||||||
public function request(string $request): null
|
public function request(string $request): null
|
||||||
{
|
{
|
||||||
|
// Debugging
|
||||||
|
date_default_timezone_set('Asia/Yekaterinburg');
|
||||||
|
file_put_contents('requests.txt', '[' . date('Y.m.d H:i:s') . '] Заказ с сайта: ' . DOMAIN . "\n", FILE_APPEND);
|
||||||
|
file_put_contents('requests.txt', print_r($request, true) . "\n", FILE_APPEND);
|
||||||
|
file_put_contents('requests.txt', print_r($this->request->files, true) . "\n", FILE_APPEND);
|
||||||
|
|
||||||
if ($this->request->method === method::put) {
|
if ($this->request->method === method::put) {
|
||||||
// PUT
|
// PUT
|
||||||
|
|
||||||
// Initializing the project identifier (temporary solution)
|
// Initializing the project identifier (temporary solution)
|
||||||
$identifier = blake3($request, 20);
|
$identifier = blake3($request, 20);
|
||||||
|
|
||||||
@@ -197,6 +204,36 @@ final class project extends core
|
|||||||
// Sending the message
|
// Sending the message
|
||||||
$mail->send();
|
$mail->send();
|
||||||
} catch (mail_exception $exception) {
|
} catch (mail_exception $exception) {
|
||||||
|
file_put_contents('requests.txt', '[' . date('Y.m.d H:i:s') . "] ПИЗДЕЦ\n", FILE_APPEND);
|
||||||
|
file_put_contents('requests.txt', '[' . date('Y.m.d H:i:s') . ']' . $exception->getMessage() . "\n", FILE_APPEND);
|
||||||
|
|
||||||
|
try {
|
||||||
|
// Initializing the mail server
|
||||||
|
$mail = new mail(true);
|
||||||
|
|
||||||
|
$mail->setLanguage('ru');
|
||||||
|
$mail->CharSet = mail::CHARSET_UTF8;
|
||||||
|
$mail->isSMTP();
|
||||||
|
$mail->Host = MAIL['host'];
|
||||||
|
$mail->SMTPAuth = true;
|
||||||
|
$mail->Username = MAIL['sender']['mail'];
|
||||||
|
$mail->Password = MAIL['sender']['password'];
|
||||||
|
$mail->SMTPSecure = mail::ENCRYPTION_SMTPS;
|
||||||
|
$mail->Port = 465;
|
||||||
|
$mail->setFrom(MAIL['sender']['mail'], MAIL['sender']['name']);
|
||||||
|
$mail->addAddress(MAIL['receiver']['mail'], MAIL['receiver']['name']);
|
||||||
|
|
||||||
|
// The message
|
||||||
|
$mail->isHTML(true);
|
||||||
|
$mail->Subject = empty($request['project']['name']) ? 'Заказ без документов' : 'Заказ без документов: ' . $request['project']['name'];
|
||||||
|
$mail->Body = $this->view->render('messages/request.html', $request);
|
||||||
|
|
||||||
|
// Sending the message
|
||||||
|
$mail->send();
|
||||||
|
} catch (mail_exception $exception) {
|
||||||
|
file_put_contents('requests.txt', '[' . date('Y.m.d H:i:s') . "] ПИЗДЕЦ БЕЗ КАРТИНОК\n", FILE_APPEND);
|
||||||
|
file_put_contents('requests.txt', '[' . date('Y.m.d H:i:s') . ']' . $exception->getMessage() . "\n", FILE_APPEND);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Sending response
|
// Sending response
|
||||||
|
|||||||
70
kodorvan/site/system/public/damp.txt
Normal file
70
kodorvan/site/system/public/damp.txt
Normal file
@@ -0,0 +1,70 @@
|
|||||||
|
Array
|
||||||
|
(
|
||||||
|
[file_0] => Array
|
||||||
|
(
|
||||||
|
[name] => 280a5d18823508efac9d904834abd236.jpg
|
||||||
|
[full_path] => 280a5d18823508efac9d904834abd236.jpg
|
||||||
|
[type] => image/jpeg
|
||||||
|
[tmp_name] => /tmp/phpefc1op03dpuv2Cyh9TO
|
||||||
|
[error] => 0
|
||||||
|
[size] => 45917
|
||||||
|
)
|
||||||
|
|
||||||
|
)
|
||||||
|
|
||||||
|
Array
|
||||||
|
(
|
||||||
|
[file_0] => Array
|
||||||
|
(
|
||||||
|
[name] => Screenshot_2025-07-27-09-18-09-856_app.revanced.android.youtube.png
|
||||||
|
[full_path] => Screenshot_2025-07-27-09-18-09-856_app.revanced.android.youtube.png
|
||||||
|
[type] => image/png
|
||||||
|
[tmp_name] => /tmp/php0q6v9gdl94r9dK4IZRI
|
||||||
|
[error] => 0
|
||||||
|
[size] => 426274
|
||||||
|
)
|
||||||
|
|
||||||
|
)
|
||||||
|
|
||||||
|
Array
|
||||||
|
(
|
||||||
|
[file_0] => Array
|
||||||
|
(
|
||||||
|
[name] => Screenshot_2025-07-27-09-18-09-856_app.revanced.android.youtube.png
|
||||||
|
[full_path] => Screenshot_2025-07-27-09-18-09-856_app.revanced.android.youtube.png
|
||||||
|
[type] => image/png
|
||||||
|
[tmp_name] => /tmp/php3tt2g6o82blucdzMXgO
|
||||||
|
[error] => 0
|
||||||
|
[size] => 426274
|
||||||
|
)
|
||||||
|
|
||||||
|
)
|
||||||
|
|
||||||
|
Array
|
||||||
|
(
|
||||||
|
[file_0] => Array
|
||||||
|
(
|
||||||
|
[name] => TXRhM8WR8gM.jpg
|
||||||
|
[full_path] => TXRhM8WR8gM.jpg
|
||||||
|
[type] => image/jpeg
|
||||||
|
[tmp_name] => /tmp/phpacgh5ki1libqfq6kxHL
|
||||||
|
[error] => 0
|
||||||
|
[size] => 1114889
|
||||||
|
)
|
||||||
|
|
||||||
|
)
|
||||||
|
|
||||||
|
Array
|
||||||
|
(
|
||||||
|
[file_0] => Array
|
||||||
|
(
|
||||||
|
[name] => 20250928_125222.jpg
|
||||||
|
[full_path] => 20250928_125222.jpg
|
||||||
|
[type] => image/jpeg
|
||||||
|
[tmp_name] => /tmp/php4v03e60cr1ds932BVDM
|
||||||
|
[error] => 0
|
||||||
|
[size] => 278597
|
||||||
|
)
|
||||||
|
|
||||||
|
)
|
||||||
|
|
||||||
5
kodorvan/site/system/public/requests.txt
Normal file
5
kodorvan/site/system/public/requests.txt
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
[2026.04.27 23:16:08] Заказ с сайта: kodorvan.tech
|
||||||
|
[2026.04.27 23:23:25] Заказ с сайта: kodorvan.tech
|
||||||
|
[2026.04.27 23:23:28] Заказ с сайта: kodorvan.tech
|
||||||
|
[2026.04.27 23:30:00] Заказ с сайта: kodorvan.tech
|
||||||
|
[2026.04.27 23:46:17] Заказ с сайта: kodorvan.tech
|
||||||
@@ -20,7 +20,8 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
>article#rofls {
|
>article#rofls {
|
||||||
z-index: 50;
|
z-index: 4000;
|
||||||
|
position: relative;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
@@ -12,8 +12,6 @@ main {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
transition: 0s;
|
transition: 0s;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
overflow-y: scroll;
|
|
||||||
overscroll-behavior: none;
|
|
||||||
|
|
||||||
&:not(:has(*)) {
|
&:not(:has(*)) {
|
||||||
display: none;
|
display: none;
|
||||||
|
|||||||
@@ -43,7 +43,11 @@
|
|||||||
body {
|
body {
|
||||||
margin: unset;
|
margin: unset;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
|
height: 100%;
|
||||||
|
-webkit-overflow-scrolling: touch;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
|
overflow-y: scroll;
|
||||||
|
overscroll-behavior: none;
|
||||||
|
|
||||||
/* background: var(--background-color, #fff);
|
/* background: var(--background-color, #fff);
|
||||||
background: var(--background-gradient); */
|
background: var(--background-gradient); */
|
||||||
|
|||||||
Reference in New Issue
Block a user