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
| #!/bin/bash | |
| ### VARIABLES ### | |
| PRE_PACK="openssl-devel pcre-devel make gcc" | |
| VER="1.5.1" | |
| # Setup Colours | |
| black='\E[30;40m' | |
| red='\E[31;40m' |
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 | |
| /** | |
| * Optimized version of attribute source options model | |
| * | |
| * That allows to preload options once and reuse them instead of doing calls to db all the time | |
| * | |
| */ | |
| class EcomDev_Optimization_Model_Resource_Attribute_Source_Table | |
| extends Mage_Eav_Model_Entity_Attribute_Source_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 | |
| /* | |
| * This script deletes duplicate images and imagerows from the database of which the images are not present in the filesystem. | |
| * It also removes images that are exact copies of another image for the same product. | |
| * And lastly, it looks for images that are on the filesystem but not in the database (orphaned images). | |
| * | |
| * This script can most likely be optimized but since it'll probably only be run a few times, I can't be bothered. | |
| * | |
| * Place scripts in a folder named 'scripts' (or similar) in the Magento root. |
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 playbook has been removed as it is now very outdated. |