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
# 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
#!/bin/bash | |
exec < /dev/tty | |
if [ ! -f ./system.txt ]; then | |
echo "File not found!" | |
read -p "Status of the system (local,dev or live)? [n]" -r | |
echo $REPLY > ./system.txt | |
fi | |
dumpname=`cat system.txt` |
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
<?php | |
/* | |
replace show_in_price_search_engine with your attr code | |
replace General with antoher Tab | |
*/ | |
$dir = dirname(__FILE__); | |
chdir($dir); |
NewerOlder