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 | |
$svg_file = $modx->getOption('file',$scriptProperties, ''); | |
$svg_id = $modx->getOption('id',$scriptProperties,'mySVGId'); | |
$svg_class = $modx->getOption('class',$scriptProperties,'mySVGClass'); | |
$svg_name = $modx->getOption('name',$scriptProperties,'SVG'); | |
$svg_height = $modx->getOption('height',$scriptProperties,'440px'); | |
$svg_width = $modx->getOption('width',$scriptProperties,'440px'); | |
$svg_background_color = $modx->getOption('background_color',$scriptProperties,'transparent'); | |
$svg_svgstyle = $modx->getOption('svgstyle',$scriptProperties,'top:2px;position:inherit;'); |
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
A few blocks of .htaccess code to help improve your websites performance and/or functionality. I would recommend reading about each section and applying if required instead of applying everything. | |
The more code in your .htaccess the more your server needs to process BEFORE the HTML starts being served. | |
______________________ .htaccess starts after this line _________________________________ | |
## Optional - Allow cross-origin requests. ## | |
# http://enable-cors.org/ - http://www.w3.org/TR/cors/ | |
# https://code.google.com/p/html5security/wiki/CrossOriginRequestSecurity |