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
protected function _construct() | |
{ | |
parent::_construct(); | |
$this->addData(array( | |
'cache_lifetime' => 86400, | |
'cache_tags' => array(Mage_Catalog_Model_Product::CACHE_TAG), | |
)); | |
} |
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 | |
/** | |
* Interakting Slider | |
* | |
* NOTICE OF LICENSE | |
* | |
* This source file is subject to the Open Software License (OSL 3.0) | |
* that is bundled with this package in the file LICENSE.txt. | |
* It is also available through the world-wide-web at this URL: | |
* http://opensource.org/licenses/osl-3.0.php |
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 if (!$this->getHideToolbar()): ?> | |
<?php echo $this->getToolbarHtml() ?> | |
<?php endif ?> |
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
<?xml version="1.0"?> | |
<layout> | |
<default> | |
<!--Root/Default Layouts--> | |
<reference name="root"> | |
<!--Appending Block--> | |
<block type="page/html_breadcrumbs" name="breadcrumbs" as="breadcrumbs"/> | |
</reference> | |
<!--CSS and JS Files--> |
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 | |
/** @var $installer Scandi_Migrations_Model_Resource_Setup */ | |
$installer = $this; | |
$installer->startSetup(); | |
$templates = array( | |
array( | |
"name" => "New Invoice", | |
"code" => "sales_email_invoice_template", | |
"config" => "sales_email/invoice/template", |
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
# This is an annotated subset of the Nginx configuration from our Magento production platform @ www.hypernode.com | |
# See https://www.byte.nl/blog/magento-cacheleak-issue | |
# !!!! If you are a Hypernode customer, do not use this config as it will result in duplicate statements. !!!!! | |
user app; | |
worker_processes 4; | |
pid /var/run/nginx.pid; | |
events { |
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 sub_query.month_ordered, | |
sub_query.year_ordered, | |
AVG(sub_query.base_subtotal) AS average_base_subtotal, | |
AVG(sub_query.discount_amount) AS average_discount_amt, | |
AVG(sub_query.order_qty) AS average_total_item_count, | |
COUNT(sub_query.entity_id) AS total_orders | |
FROM | |
(SELECT so.entity_id, | |
MONTH(so.created_at) AS month_ordered, | |
YEAR(so.created_at) AS year_ordered, |
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
--- ext/intl/breakiterator/codepointiterator_internal.cpp | |
+++ ext/intl/breakiterator/codepointiterator_internal.cpp | |
@@ -67,21 +67,25 @@ | |
} | |
CodePointBreakIterator::~CodePointBreakIterator() | |
{ | |
if (this->fText) { | |
utext_close(this->fText); | |
} |
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
--- /ext/intl/breakiterator/codepointiterator_internal.cpp | |
+++ /ext/intl/breakiterator/codepointiterator_internal.cpp | |
@@ -67,21 +67,25 @@ | |
} | |
CodePointBreakIterator::~CodePointBreakIterator() | |
{ | |
if (this->fText) { | |
utext_close(this->fText); | |
} |
OlderNewer