31Mrz
Tags: CMS | Gambio | Joomla! | Joomla! / Virtuemart | phpBB | PrestaShop | Redaxo | TYPO3 | xt:Commerce | xt:Commerce VEYTON 4.0
Kommentieren
CMS
CMS |
Konfigurationsdatei |
Backend-URL |
Conrete5 |
/config/site.php (?) |
|
Contao |
/system/config/localconfig.php |
/contao |
Drupal |
/sites/default/settings.php (?) |
/user |
ProcessWire |
/site/config.php |
/wadmin/login/ |
Joomla! |
/configuration.php (?) |
/administrator |
phpBB |
/config.php (?) |
|
phpwcms |
/config/phpwcms/conf.inc.php |
/login.php |
Redaxo |
/redaxo/include/master.inc.php |
/redaxo |
Typo3 4.7 |
/typo3conf/config.php (?) |
/typo3 |
Typo3 6.2 |
/typo3conf/LocalConfiguration.php |
/typo3 |
Typo3 7 |
/typo3conf/LocalConfiguration.php |
/typo3 |
Typolight |
|
/typolight |
Vanilla |
/conf/config.php (?) |
|
Website Baker CMS |
/config.php (?) |
/admin |
WordPress |
/wp-config.php |
/wp-admin |
Shop-Systeme
CMS |
Konfigurationsdatei |
Backend-URL |
osCommerce |
|
/admin |
Oxid E-Shop |
/config.inc.php (?) |
|
Prestashop |
/config/settings.inc.php |
/adminXXXX
XXXX steht dabei für eine zufällige vierstellige Zahl, die automatisch bei der Installation generiert wird. Dies dient der Absicherung des Backends. |
ShopWare |
/config.php |
/backend |
xt:commerce 3 / Gambio |
/admin/includes/configure.php
/includes/configure.php |
Der Login erfolgt über das Frontend |
xt:commerce VEYTON 4 |
/conf/config.php |
/xtAdmin |
30Mrz
Tags: Allgemein | TYPO3
Kommentieren
|
page.bodyTag > page.bodyTagCObject = TEXT page.bodyTagCObject.value= mobile page.bodyTagCObject.wrap = <body class="|"> |
Dies ist zum Beispiel nützlich, wenn für mobile Endgeräte eine spezielle Klasse verwendet werden soll:
|
[useragent = *iPhone*] || [useragent = *iPod*] || [useragent = *Android*] page.includeCSS { file1 = fileadmin/templates/default/css/mobile.css file1.title = Mobile CSS file1.media = screen } # Add class 'mobile' to body tag page.bodyTag > page.bodyTagCObject = TEXT page.bodyTagCObject.value= mobile page.bodyTagCObject.wrap = <body class="|"> [global] |
22Mrz
Tags: Allgemein
Kommentieren
OS X
Ab OS X Yosemite (> 10.10.4)
|
sudo killall -HUP mDNSResponder |
OS X 10.10 bis 10.10.3
|
sudo discoveryutil mdnsflushcache |
OS X Mavericks, Mountain Lion und Lion (< 10.9.5)
|
sudo killall -HUP mDNSResponder |
Mac OS X Snow Leopard (10.6 bis 10.6.8)
|
sudo dscacheutil -flushcache |
- https://support.apple.com/de-de/HT202516
Google Chrome
Folgende Adresse in der Adresszeile aufrufen.
|
chrome://net-internals/#dns |
Ein Klick auf den Button „Clear host cache“ leert nun den DNS-Cache.
- http://superuser.com/questions/203674/how-to-clear-flush-the-dns-cache-in-google-chrome
22Mrz
Tags: Allgemein
Kommentieren
Dieses Snippet prüft, ob ein Verzeichnis vorhanden ist.
|
if [ -d "/var/www/$1" ]; then sudo -u $1 php /var/www/$1/occ maintenance:mode --on fi |
21Mrz
Tags: Webserver
Kommentieren
Dieses Snippet prüft, ob eine Variable oder ein Parameter gesetzt ist:
|
if [ -z "$var" ]; then echo "Variable ist nicht gesetzt"; else echo "Variable ist gesetzt."; fi |
21Mrz
Tags: Allgemein
Kommentieren
Mit diesem Snippet überprüft ihr, ob ein zur Ausführung notwendiges Programm installier ist:
|
PROGRAM="sshpass" CONDITION=$(which $PROGRAM 2>/dev/null | grep -v "not found" | wc -l) if [ $CONDITION -eq 0 ] ; then echo "$PROGRAM ist nicht installiert." exit fi |
21Mrz
Tags: Allgemein
Kommentieren
Mit diesem Snippet überprüft ihr, ob die erforderliche Anzahl an Argumenten übergeben wurde:
|
ARGS=3 if [ $# -ne $ARGS ] then echo "Usage: $0 arg1 arg2 arg3" exit 65 fi |
21Mrz
Tags: Allgemein
Kommentieren
Mit dem folgenden Snippet überprüft ihr innerhalb eines Shell-Scripts, ob der ausführende Benutzer als root
angemeldet ist:
|
if [[ $EUID -ne 0 ]]; then echo "This script must be run as root" exit 1 fi |
15Mrz
Tags: Allgemein | macOS / OS X (Mac)
Kommentieren
Deaktivierung
Ausführen in einem Terminal:
|
defaults write com.apple.dashboard mcx-disabled -boolean YES && killall Dock |
Aktivierung
Ausführen in einem Terminal:
|
defaults write com.apple.dashboard mcx-disabled -boolean NO && killall Dock |