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
ALTER TABLE ctlg_ CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; |
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
function setContentSize() { | |
$('.swiper-content').css({ | |
height: $(window).height()-$('.swiper-nav').height() | |
}) | |
} | |
setContentSize() | |
$(window).resize(function(){ | |
setContentSize() | |
}) |
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 | |
$imageResp = \Picture::create($col->picture['img']['src'], 3)->getTemplateData(); | |
$this->insert('picture_default', $imageResp); | |
?> |
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
MAILER_DSN=smtp://<ersetzen durch kundenname>.mail.protection.outlook.com:25 | |
mailer_transport: smtp | |
mailer_host: <mx-eintrag des kunden>.mail.protection.outlook.com | |
mailer_user: null | |
mailer_password: null | |
mailer_port: 25 | |
mailer_encryption: tls |
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
document.onreadystatechange = () => { | |
if (document.readyState === 'complete') { | |
document.getElementsByName("xxx")[0].defaultValue = document.getElementById('xxx').innerHTML; | |
document.getElementsByName("xxx")[0].defaultValue = document.getElementById('xxx').innerHTML; | |
document.getElementsByName("xxx")[0].defaultValue = document.getElementById('xxx').innerHTML; | |
document.getElementsByName("xxx")[0].defaultValue = document.getElementById('xxx').innerHTML; | |
console.log('DOM is ready.') | |
} |
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
View DNS from host | |
host -a xxxxxxx.de | |
https://whois.domaintools.com/ | |
https://reverseip.domaintools.com/ | |
Flush DNS Cache | |
sudo killall -HUP mDNSResponder | |
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
tar --absolute-names --exclude='./var/cache/production_*' -czvf /srv/home/xxxx/public/Backup.tar.gz /srv/home/xxx/public/shopware5.6/* |
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 if (!$this->hasTeaser) { | |
echo \StringUtil::substr($this->text, 150); | |
} else { | |
echo $this->teaser; }?> |
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
define( 'SMTP_USER', '[email protected]' ); // Username to use for SMTP authentication | |
define( 'SMTP_PASS', 'xxxx' ); // Password to use for SMTP authentication | |
define( 'SMTP_PORT', '465' ); // SMTP port number - likely to be 25, 465 or 587 | |
define( 'SMTP_SECURE', 'ssl' ); // Encryption system to use - ssl or tls | |
define( 'SMTP_AUTH', true ); // Use SMTP authentication (true|false) | |
define( 'SMTP_HOST', 'xxxxx' ); // The hostname of the mail server | |
define( 'SMTP_FROM', 'noreply@xxxxx' ); // SMTP From email address | |
define( 'SMTP_NAME', 'noreply' ); // SMTP From name | |
define( 'SMTP_DEBUG', 0 ); // for debugging purposes only set to 1 or 2 |
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 if($this->origin["singleSRC"]):?> | |
<?php | |
$objFiles = \FilesModel::findByPk($this->origin["singleSRC"]); | |
$strImage = $this->getImage($objFiles->path, 1200, 630, 37); | |
$GLOBALS['TL_HEAD'][] = "<meta property=\"og:image\" content=\"".$strImage."\" />";?> | |
<?php endif;?> |