diff --git a/wp-content/ai1wm-backups/.htaccess b/wp-content/ai1wm-backups/.htaccess deleted file mode 100644 index a9e229d..0000000 --- a/wp-content/ai1wm-backups/.htaccess +++ /dev/null @@ -1,9 +0,0 @@ - -AddType application/octet-stream .wpress - - -DirectoryIndex index.php - - -Options -Indexes - \ No newline at end of file diff --git a/wp-content/ai1wm-backups/index.html b/wp-content/ai1wm-backups/index.html deleted file mode 100644 index cce3445..0000000 --- a/wp-content/ai1wm-backups/index.html +++ /dev/null @@ -1 +0,0 @@ -Kangaroos cannot jump here \ No newline at end of file diff --git a/wp-content/ai1wm-backups/index.php b/wp-content/ai1wm-backups/index.php deleted file mode 100644 index cce3445..0000000 --- a/wp-content/ai1wm-backups/index.php +++ /dev/null @@ -1 +0,0 @@ -Kangaroos cannot jump here \ No newline at end of file diff --git a/wp-content/ai1wm-backups/robots.txt b/wp-content/ai1wm-backups/robots.txt deleted file mode 100644 index 7c8ec89..0000000 --- a/wp-content/ai1wm-backups/robots.txt +++ /dev/null @@ -1,3 +0,0 @@ -User-agent: * -Disallow: /ai1wm-backups/ -Disallow: /wp-content/ai1wm-backups/ \ No newline at end of file diff --git a/wp-content/ai1wm-backups/web.config b/wp-content/ai1wm-backups/web.config deleted file mode 100644 index 4f2998e..0000000 --- a/wp-content/ai1wm-backups/web.config +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/wp-content/themes/cosmopet/modules/profile/module-ajax-controller.php b/wp-content/themes/cosmopet/modules/profile/module-ajax-controller.php index ba3e13e..dae0ebf 100644 --- a/wp-content/themes/cosmopet/modules/profile/module-ajax-controller.php +++ b/wp-content/themes/cosmopet/modules/profile/module-ajax-controller.php @@ -182,6 +182,12 @@ if ($site_url === 'https://cosmopet-test-dumb.cp.good-production.xyz') { define('BOT_USERNAME', 'cosmopet_test_RU_bot'); } elseif ($site_url === 'https://cosmopet-test-ae.cp.good-production.xyz') { define('BOT_USERNAME', 'cosmopet_test_AE_bot'); +} +elseif ($site_url === 'https://cosmopet.ru') { + define('BOT_USERNAME', 'Cosmopet_shop_bot'); +} +elseif ($site_url === 'https://cosmopet.ae') { + define('BOT_USERNAME', 'cosmopet_ae_bot'); } else { define('BOT_USERNAME', 'cosmopet_test_default_bot'); // Фallback на случай других доменов } diff --git a/wp-content/themes/cosmopet/templates/header.twig b/wp-content/themes/cosmopet/templates/header.twig index 393b7c2..107e555 100644 --- a/wp-content/themes/cosmopet/templates/header.twig +++ b/wp-content/themes/cosmopet/templates/header.twig @@ -73,20 +73,20 @@
{% if fn('is_user_logged_in') %} - - + + {% else %} {% endif %}