- Post to Hacker News
- Share HN post on Twitter
- Raise $1MM
- Retire
//** Load fonts from this directory. | |
@icon-font-path-custom: "/typo3conf/path/to/your/fonts/"; | |
@font-face { | |
font-family: 'YourFont'; | |
font-style: normal; | |
font-weight: 400; | |
src: url('@{icon-font-path-custom}your-webfont.eot'); | |
src: url('@{icon-font-path-custom}your-webfont.eot?#iefix') format('embedded-opentype'), | |
url('@{icon-font-path-custom}your-webfont.woff') format('woff'), |
<?php | |
/* | |
* typo3conf/AdditionalConfiguration.php | |
*/ | |
// ... all the other stuff ... | |
if (isset($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['staticfilecache'])) { | |
$oExtensionConfig = TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(SFC\Staticfilecache\Service\ConfigurationService::class); |