Magento and .git directory hiding
If you’re deploying a Magento website using git you surely do not want the .git directory to be visible from the browser, so just put this line in your .htaccess: right after: let’s have a nice day now :)
If you’re deploying a Magento website using git you surely do not want the .git directory to be visible from the browser, so just put this line in your .htaccess: right after: let’s have a nice day now :)
On a big website, while Magento (this was a Professional 1.10.something) is reindexing (work done by a cron job) every page (viewed from the browser) seems to try to reindex the products it shows, that ends in a duplicate key error on an index temporary table (catalog_product_index_price_tmp), I needed a rough and quickfix I opened app\code\core\Mage\Index\Model\Resource\Helper\Abstract.php [...]
A lot of things are moving in the PHP ecosystem, but it seems to me that those things are going a little bit out of control and I’ve a few philosophical questions… PHP 5.4 Hey great, we’ve traits and a built-in web server. Hemmm what about the damn UTF8 support? It’s 2012 and still a [...]