Skip to content

Instantly share code, notes, and snippets.

View teiling88's full-sized avatar

Thomas Eiling teiling88

View GitHub Profile
RewriteRule ^media\/(.*) http://www.shopurl.de/media/$1 [R=301,L]
@teiling88
teiling88 / chmod_sw5
Last active November 4, 2015 09:43
chmod for sw5
chmod 777 logs/
chmod 777 config.php
chmod 777 cache/
chmod 777 web/cache/
chmod 777 files/documents/
chmod 777 files/downloads/
chmod 777 recovery/
chmod 777 engine/Shopware/Plugins/Community/
chmod 777 engine/Shopware/Plugins/Community/Frontend
chmod 777 engine/Shopware/Plugins/Community/Core
SET foreign_key_checks = 0;
TRUNCATE s_article_configurator_dependencies;
TRUNCATE s_article_configurator_groups;
TRUNCATE s_article_configurator_option_relations;
TRUNCATE s_article_configurator_options;
TRUNCATE s_article_configurator_price_surcharges;
TRUNCATE s_article_configurator_set_group_relations;
TRUNCATE s_article_configurator_set_option_relations;
TRUNCATE s_article_configurator_sets;
TRUNCATE s_article_configurator_template_prices;
<?php
/**
* Bootstrap for ${NAME}
* @version
* @author TE [email protected]
*/
class Shopware_Plugins_${namespace}_Bestit${name}_Bootstrap extends Shopware_Components_Plugin_Bootstrap
{
/**
* Install plugin method