resolved #26, resolved #30

This commit is contained in:
Arsen Mirzaev Tatyano-Muradovich 2025-02-13 11:54:03 +03:00
parent 61730cc1f2
commit 10af91a081
7 changed files with 10 additions and 4 deletions

View File

@ -23,7 +23,7 @@ server {
}
location ~ /(?<type>categories|products) {
root /var/www/arming_bot/mirzaev/arming_bot/system/storage;
root /var/www/huesos/mirzaev/huesos/system/storage;
try_files $uri =404;
}

View File

@ -375,9 +375,9 @@ final class telegram extends core
if (pathinfo(parse_url($file->getFilePath())['path'], PATHINFO_EXTENSION) === 'xlsx') {
// Имеет расширение xlsx файл
// Initializing the directory in the storage
// Initializing the account imports directory in the storage
if (!file_exists($storage = STORAGE . DIRECTORY_SEPARATOR . 'import' . DIRECTORY_SEPARATOR . $account->getKey() . DIRECTORY_SEPARATOR . time()))
mkdir($storage, 0775, true);
mkdir(directory: $storage, permissions: 0775, recursive: true);
// Сохранение файла
file_put_contents(

View File

@ -0,0 +1,2 @@
*
!.gitignore

View File

@ -0,0 +1,2 @@
*
!.gitignore

View File

@ -0,0 +1,2 @@
*
!.gitignore

View File

@ -16,7 +16,7 @@
},
root: 'map',
apiKey: 'a222c5fe-fee7-420a-b979-aec0473a0400',
servicePath: 'https://arming.dev.mirzaev.sexy/api/cdek',
servicePath: 'https://telegram.arming.ru/api/cdek',
hideFilters: {
have_cashless: true,
have_cash: true,