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 | |
define( 'httpBL_KEY', '[YOUR API KEY HERE]' ); | |
class httpBL { | |
private static $_visitor_type = array( | |
0 => 'Search Engine Bot', | |
1 => 'Suspicious', | |
2 => 'Harvester', |
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 | |
// app/code/local/SW/Core/Model/Design/Package.php | |
class SW_Core_Model_Design_Package extends Mage_Core_Model_Design_Package | |
{ | |
/** | |
* Get the timestamp of the newest file | |
* | |
* @param array $files | |
* @return int $timeStamp |
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 | |
class SW_Catalog_Helper_Product_View extends Mage_Catalog_Helper_Product_View | |
{ | |
public function initProductLayout($product, $controller) | |
{ | |
$design = Mage::getSingleton('catalog/design'); | |
$settings = $design->getDesignSettings($product); |
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" encoding="UTF-8"?> | |
<config> | |
<modules> | |
<SW_Catalog> | |
<version>0.1.0</version> | |
</SW_Catalog> | |
</modules> | |
<global> | |
<helpers> | |
<catalog> |
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"?> | |
<config> | |
<modules> | |
<SW_SiteSkin> | |
<version>0.1.0</version> | |
</SW_SiteSkin> | |
</modules> | |
<frontend> | |
<layout> | |
<updates> |