diff --git a/examples/nginx/server.conf b/examples/nginx/server.conf index b26cb95..53b8d07 100644 --- a/examples/nginx/server.conf +++ b/examples/nginx/server.conf @@ -23,7 +23,7 @@ server { } location ~ /(?categories|products) { - root /var/www/arming_bot/mirzaev/arming_bot/system/storage; + root /var/www/huesos/mirzaev/huesos/system/storage; try_files $uri =404; } diff --git a/mirzaev/huesos/system/models/telegram.php b/mirzaev/huesos/system/models/telegram.php index d057903..126b47f 100755 --- a/mirzaev/huesos/system/models/telegram.php +++ b/mirzaev/huesos/system/models/telegram.php @@ -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( diff --git a/mirzaev/huesos/system/storage/categories/.gitignore b/mirzaev/huesos/system/storage/categories/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/mirzaev/huesos/system/storage/categories/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/mirzaev/huesos/system/storage/import/.gitignore b/mirzaev/huesos/system/storage/import/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/mirzaev/huesos/system/storage/import/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/mirzaev/huesos/system/storage/import/11732/1739432729/import.xlsx b/mirzaev/huesos/system/storage/import/11732/1739432729/import.xlsx new file mode 100644 index 0000000..b0ab137 Binary files /dev/null and b/mirzaev/huesos/system/storage/import/11732/1739432729/import.xlsx differ diff --git a/mirzaev/huesos/system/storage/products/.gitignore b/mirzaev/huesos/system/storage/products/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/mirzaev/huesos/system/storage/products/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/mirzaev/huesos/system/views/themes/default/cart/elements/deliveries/cdek/javascript.html b/mirzaev/huesos/system/views/themes/default/cart/elements/deliveries/cdek/javascript.html index 50dff57..ea91939 100644 --- a/mirzaev/huesos/system/views/themes/default/cart/elements/deliveries/cdek/javascript.html +++ b/mirzaev/huesos/system/views/themes/default/cart/elements/deliveries/cdek/javascript.html @@ -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,