This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Просмотр товара: | |
// Добавить в шаблон "product.liquid" код | |
<script> | |
$(window).load(function() { | |
var prices = [<Список идентификаторов прайс-листов>]; | |
for (var i = 0; i < prices.length; i++) { | |
VK.Retargeting.ProductEvent(prices[i], 'view_product', { | |
products: [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#redirect http to https | |
RewriteCond %{HTTP:X-Forwarded-Proto} !https | |
RewriteCond %{HTTP_HOST} ^(.*)$ | |
RewriteRule ^(.*)$ https://%1/$1 [R=301,L] | |
# without www all domains | |
RewriteCond %{HTTP_HOST} . | |
RewriteCond %{HTTP_HOST} !^domain\.ru$ [NC] | |
RewriteRule ^(.*)$ https://domain.ru/$1 [R=301,L] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
php_value open_basedir "/path:/tmp" | |
php_value mail.add_x_header 1 | |
php_value mail.log /path/mail.log | |
php_value auto_prepend_file /path/postlogger.php |
NewerOlder