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
| CREATE TABLE IF NOT EXISTS `catalog_product_entity_group_price` ( | |
| `value_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Value ID', | |
| `entity_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Entity ID', | |
| `all_groups` smallint(5) unsigned NOT NULL DEFAULT '1' COMMENT 'Is Applicable To All Customer Groups', | |
| `customer_group_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Customer Group ID', | |
| `value` decimal(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Value', | |
| `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website ID', | |
| PRIMARY KEY (`value_id`), | |
| UNIQUE KEY `CC12C83765B562314470A24F2BDD0F36` (`entity_id`,`all_groups`,`customer_group_id`,`website_id`), | |
| KEY `IDX_CATALOG_PRODUCT_ENTITY_GROUP_PRICE_ENTITY_ID` (`entity_id`), |
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
| CREATE TABLE IF NOT EXISTS `catalog_product_index_group_price` ( | |
| `entity_id` int(10) unsigned NOT NULL COMMENT 'Entity ID', | |
| `customer_group_id` smallint(5) unsigned NOT NULL COMMENT 'Customer Group ID', | |
| `website_id` smallint(5) unsigned NOT NULL COMMENT 'Website ID', | |
| `price` decimal(12,4) DEFAULT NULL COMMENT 'Min Price', | |
| PRIMARY KEY (`entity_id`,`customer_group_id`,`website_id`), | |
| KEY `IDX_CATALOG_PRODUCT_INDEX_GROUP_PRICE_CUSTOMER_GROUP_ID` (`customer_group_id`), | |
| KEY `IDX_CATALOG_PRODUCT_INDEX_GROUP_PRICE_WEBSITE_ID` (`website_id`) | |
| ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Group Price Index Table'; |
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 'app/Mage.php'; | |
| $app = Mage::app(); | |
| echo "<pre>"; | |
| if($app != null) { | |
| echo "The app was initialized.\n"; | |
| $cache = $app->getCache(); | |
| if($cache != null) { | |
| echo "The cache is not empty. Clean it.\n"; |
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
| <checkout_onepage_index> | |
| <reference name="root"> | |
| <action method="setTemplate"><template>page/2columns-left.phtml</template></action> | |
| </reference> | |
| </checkout_onepage_index> |
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
| config.xml | |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <config> | |
| <modules> | |
| <KK_BLSync> | |
| <version>0.0.1</version> | |
| </KK_BLSync> | |
| </modules> | |
| <global> | |
| <models> |
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
| DROP TABLE IF EXISTS `log_visitor`; | |
| CREATE TABLE `log_visitor` ( | |
| `visitor_id` bigint(20) unsigned NOT NULL auto_increment, | |
| `session_id` char(64) NOT NULL default '', | |
| `store_id` char(64) NOT NULL default '', | |
| `first_visit_at` datetime default NULL, | |
| `last_visit_at` datetime NOT NULL default '0000-00-00 00:00:00', | |
| `last_url_id` bigint(20) unsigned NOT NULL default '0', | |
| PRIMARY KEY (`visitor_id`) |
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
| $product->setManufacturer("ACME"); | |
| $product->save(); |
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 the main Apache server configuration file. It contains the | |
| # configuration directives that give the server its instructions. | |
| # See <URL:http://httpd.apache.org/docs/2.2/> for detailed information. | |
| # In particular, see | |
| # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html> | |
| # for a discussion of each configuration directive. | |
| # | |
| # | |
| # Do NOT simply read the instructions in here without understanding |
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
| #/etc/httpd/conf.d/mod_fastcgi.conf | |
| LoadModule fastcgi_module modules/mod_fastcgi.so | |
| <IfModule mod_fastcgi.c> | |
| Alias /php5.fcgi /usr/sbin/php-fpm.fcgi | |
| AddType application/x-httpd-fastphp5 .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
| # Generated by iptables-save v1.4.7 on Mon Jan 7 16:20:09 2002 | |
| *filter | |
| :INPUT DROP [0:0] | |
| :FORWARD DROP [0:0] | |
| :OUTPUT ACCEPT [1:140] | |
| -A INPUT -i lo -j ACCEPT | |
| -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT | |
| -A INPUT -p icmp -m state --state NEW -j ACCEPT | |
| -A INPUT -p tcp -m tcp --dport 22 -m state --state NEW -j ACCEPT | |
| -A INPUT -p tcp -m tcp --dport 80 -m state --state NEW -j ACCEPT |