This file contains 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
login url | |
<?php echo Mage::getUrl('customer/account/login'); ?> | |
logout url | |
<?php echo Mage::getUrl('customer/account/logout'); ?> | |
My Account url | |
<?php echo Mage::getUrl('customer/account'); ?> | |
Register url |
This file contains 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
*/5 * * * * php /home/bender/htdocs/cron.php -malways 1 > /dev/null | |
*/5 * * * * php /home/bender/htdocs/cron.php -mdefault 1 > /dev/null | |
* * * * * ! test -e /home/bender/htdocs_dev/www/maintenance.flag && /bin/bash /home/bender/htdocs_dev/www/scheduler_cron.sh --mode always | |
* * * * * ! test -e /home/bender/htdocs_dev/www/maintenance.flag && /bin/bash /home/bender/htdocs_dev/www/scheduler_cron.sh --mode default |
This file contains 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
# Compress and Exclude! | |
tar -pczf MyBackup.tar.gz /home/user/public_html/ --exclude "/home/user/public_html/tmp" | |
tar -pczf backup_xxx.tar.gz ./public_html --exclude "./public_html/media" --exclude "./public_html/var/cache" --exclude "./public_html/var/log" | |
# RYSNC | |
Muss auf dem Zielsystem ausgeführt werden z.B. Lokal. | |
rsync --progress --exclude=var/cache --exclude=var/log --exclude=var/session --exclude=/media --exclude=/tmp -aze ssh bauchemie24@bauchemie24.web.mageprofis.de:/home/bauchemie24/htdocs/ /home/leon/htdocs/bauchemie24/ | |
# Uncompress |
This file contains 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
#https://docs.shopware.com/de/shopware-5-de/tutorials-und-faq/sql-tipps-tricks | |
SET foreign_key_checks = 0; | |
TRUNCATE `s_user`; | |
TRUNCATE `s_user_addresses`; | |
TRUNCATE `s_user_addresses_attributes`; | |
TRUNCATE `s_user_attributes`; | |
TRUNCATE `s_user_billingaddress`; | |
TRUNCATE `s_user_billingaddress_attributes`; | |
TRUNCATE `s_user_shippingaddress`; |
OlderNewer