parent
61730cc1f2
commit
10af91a081
|
@ -23,7 +23,7 @@ server {
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /(?<type>categories|products) {
|
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;
|
try_files $uri =404;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -375,9 +375,9 @@ final class telegram extends core
|
||||||
if (pathinfo(parse_url($file->getFilePath())['path'], PATHINFO_EXTENSION) === 'xlsx') {
|
if (pathinfo(parse_url($file->getFilePath())['path'], PATHINFO_EXTENSION) === 'xlsx') {
|
||||||
// Имеет расширение 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()))
|
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(
|
file_put_contents(
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
*
|
||||||
|
!.gitignore
|
|
@ -0,0 +1,2 @@
|
||||||
|
*
|
||||||
|
!.gitignore
|
Binary file not shown.
|
@ -0,0 +1,2 @@
|
||||||
|
*
|
||||||
|
!.gitignore
|
|
@ -16,7 +16,7 @@
|
||||||
},
|
},
|
||||||
root: 'map',
|
root: 'map',
|
||||||
apiKey: 'a222c5fe-fee7-420a-b979-aec0473a0400',
|
apiKey: 'a222c5fe-fee7-420a-b979-aec0473a0400',
|
||||||
servicePath: 'https://arming.dev.mirzaev.sexy/api/cdek',
|
servicePath: 'https://telegram.arming.ru/api/cdek',
|
||||||
hideFilters: {
|
hideFilters: {
|
||||||
have_cashless: true,
|
have_cashless: true,
|
||||||
have_cash: true,
|
have_cash: true,
|
||||||
|
|
Loading…
Reference in New Issue