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> | |
| <Ip_Prohibited> | |
| <active>true</active> | |
| <codePool>local</codePool> | |
| </Ip_Prohibited> | |
| </modules> | |
| </config> |
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> | |
| <Ip_Prohibited> | |
| <version>0.1.0</version> | |
| </Ip_Prohibited> | |
| </modules> | |
| <global> | |
| <models> | |
| <prohibited> |
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 Ip_Prohibited_Model_Onepage extends Mage_Checkout_Model_Type_Onepage | |
| { | |
| protected $Restricted_Countries = array( | |
| 'GB', // Country Codes | |
| 'CA' | |
| ); |
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
| $last_update = get_option('twitter_feed_last_update', 0); | |
| if(time() - $last_update > 86400){ | |
| require_once('TwitterAPIExchange.php'); | |
| $settings = array( | |
| 'oauth_access_token' => "PASTE_VALUE_HERE", | |
| 'oauth_access_token_secret' => "PASTE_VALUE_HERE", | |
| 'consumer_key' => "PASTE_VALUE_HERE", | |
| 'consumer_secret' => "PASTE_VALUE_HERE" | |
| ); | |
| $fields = array( |
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
| function addEvent(obj, evt, fn) { | |
| if (obj.addEventListener) { | |
| obj.addEventListener(evt, fn, false); | |
| } | |
| else if (obj.attachEvent) { | |
| obj.attachEvent("on" + evt, fn); | |
| } | |
| } |
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 | |
| /** | |
| * Magento | |
| * | |
| * 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
| $this->_data[$key] = $value; |
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 | |
| /** | |
| * Magento | |
| * | |
| * 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
| Microsoft Windows [Version 6.1.7600] | |
| Copyright (c) 2009 Microsoft Corporation. All rights reserved. | |
| C:\Users\dev>ipconfig | |
| Windows IP Configuration | |
| Ethernet adapter Local Area Connection: |
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
| $options = Mage::getModel('eav/config') | |
| ->getAttribute('catalog_product', $attr) | |
| ->getSource() | |
| ->getAllOptions(false); |
OlderNewer