Skip to content

Instantly share code, notes, and snippets.

View michaelorionmcmanus's full-sized avatar

Michael McManus michaelorionmcmanus

View GitHub Profile
# gzip compression.
<IfModule mod_deflate.c>
# html, txt, css, js, json, xml, htc:
AddOutputFilterByType DEFLATE text/html text/plain text/css application/json
AddOutputFilterByType DEFLATE text/javascript application/javascript application/x-javascript
AddOutputFilterByType DEFLATE text/xml application/xml text/x-component
# webfonts and svg:
<FilesMatch "\.(ttf|otf|eot|svg)$" >
file = GIFBUILDER
file {
XY = 180,160
format = png
quality = 100
10 = IMAGE
10 {
offset = 0,0
file.import.current = 1
file.maxW = 160
<?php
Tx_Extbase_Utility_Extension::configurePlugin(
$_EXTKEY,
'Screening',
array( // An array holding the controller-action-combinations that are accessible
'Screening' => 'show, index',
'Season' => 'index' // The first controller and its first action will be the default
),
array( // An array of non-cachable controller-action-combinations (they must already be enabled)
'Screening' => '',