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 | |
/** | |
* Contao Open Source CMS | |
* | |
* @copyright MEN AT WORK 2014 | |
* @package Helper | |
* @license GNU/LGPL | |
* @filesource | |
*/ |
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 | |
// MM | |
use MetaModels\Filter\Rules\SearchAttribute as MetaModelFilterRuleSearchAttribute; | |
use MetaModels\Filter\Setting\Factory as MetaModelFilterSettingsFactory; | |
// Isotope | |
use Isotope\Model\Product; | |
/** | |
* PHP version 5 |
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 | |
// Database credentials | |
$strHost = 'localhost'; | |
$strUser = ''; | |
$strPassword = ''; | |
$strDatabase = ''; | |
// From and to path | |
$strFrom = 'tl_files/'; |
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
@mixin background-image-retina($file, $type, $width, $height) { | |
background-image: url($file + '.' + $type); | |
@media (-webkit-min-device-pixel-ratio: 2), (-moz-min-device-pixel-ratio: 2) { | |
& { | |
background-image: url($file + '@2x.' + $type); | |
-webkit-background-size: $width $height; | |
} | |
} | |
} |