This file contains hidden or 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
| location ^~ /media/catalog/product/cache/ { | |
| try_files $uri @nocache; | |
| } | |
| location @nocache { | |
| rewrite ^/(media/catalog/product)/(.*/.*/.*/.*)/(.*/.*/.*) /$1/$3 redirect; | |
| } |
This file contains hidden or 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 | |
| /** | |
| * @author Silpion <[email protected]> | |
| */ | |
| class Config { | |
| protected $config = [ | |
| 'a' => [ |
This file contains hidden or 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
| SELECT DISTINCT `recipient_email` FROM `core_email_queue` INNER JOIN `core_email_queue_recipients` ON `core_email_queue`.`message_id` = `core_email_queue_recipients`.`message_id` WHERE `processed_at` > '2017-10-30 00:00:00' AND `created_at` < '2017-10-25 00:00:00' |
This file contains hidden or 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 | |
| require_once 'abstract.php'; | |
| class Hide_Children_Products extends Mage_Shell_Abstract { | |
| /** | |
| * Hide products having at least one configurable parent | |
| */ | |
| public function run() |
This file contains hidden or 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
| pca.on("load", function (type, id, control) { | |
| control.listen("populate", function (address) { | |
| console.log('here'); | |
| }); | |
| }); |
This file contains hidden or 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
| DELETE FROM `wp_woocommerce_order_itemmeta`; | |
| DELETE FROM `wp_woocommerce_order_items`; | |
| DELETE FROM `wp_comments` WHERE `comment_type` = 'order_note'; | |
| DELETE FROM `wp_postmeta` WHERE `post_id` IN (SELECT `ID` FROM `wp_posts` WHERE `post_type` = 'shop_order'); | |
| DELETE FROM `wp_posts` WHERE `post_type` = 'shop_order'; | |
| DELETE FROM `wp_users` WHERE `wp_users`.`ID` NOT IN (SELECT `meta_value` FROM `wp_postmeta` WHERE `meta_key` = '_customer_user') AND `wp_users`.ID NOT IN (SELECT DISTINCT (`post_author`) FROM `wp_posts`); | |
| DELETE FROM `wp_usermeta` WHERE `user_id` NOT IN (SELECT `ID` FROM `wp_users`); | |
| TRUNCATE `wp_woocommerce_order_items`; | |
| TRUNCATE `wp_woocommerce_order_itemmeta`; |
This file contains hidden or 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
| diff --git a/app/code/community/Lesti/Fpc/Helper/Data.php b/app/code/community/Lesti/Fpc/Helper/Data.php | |
| index 94e9ea1..daec7e1 100644 | |
| --- a/app/code/community/Lesti/Fpc/Helper/Data.php | |
| +++ b/app/code/community/Lesti/Fpc/Helper/Data.php | |
| @@ -70,7 +70,13 @@ class Lesti_Fpc_Helper_Data extends Lesti_Fpc_Helper_Abstract | |
| 'port' => $request->getServer('SERVER_PORT'), | |
| 'full_action_name' => $this->getFullActionName()); | |
| $uriParams = $this->_getUriParams(); | |
| - foreach ($request->getParams() as $requestParam => | |
| + $manadevParams = array(); |
OlderNewer