2011-09-08 14:18:20 -04:00
|
|
|
<?php
|
2012-04-26 10:11:15 -04:00
|
|
|
/**
|
|
|
|
* Easy Min
|
|
|
|
*
|
|
|
|
* Simple minification for better website performance
|
|
|
|
*
|
|
|
|
* @author Timothy J. Warren
|
2016-02-08 14:49:30 -05:00
|
|
|
* @copyright Copyright (c) 2012-2016
|
|
|
|
* @link https://git.timshomepage.net/aviat4ion/Easy-Min
|
2012-04-26 10:11:15 -04:00
|
|
|
* @license http://philsturgeon.co.uk/code/dbad-license
|
|
|
|
*/
|
|
|
|
|
|
|
|
// --------------------------------------------------------------------------
|
2011-09-08 14:18:20 -04:00
|
|
|
|
2016-02-08 14:49:30 -05:00
|
|
|
return [
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Document Root
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| The folder where the index of the website exists. In most situations,
|
|
|
|
| this will not need to be changed.
|
|
|
|
|
|
|
|
|
| If the website is in a folder off of the domain name, like:
|
|
|
|
| http://example.com/website/
|
|
|
|
| you will need to add that folder to the document root.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
'document_root' => $_SERVER['DOCUMENT_ROOT'],
|
2011-09-08 14:18:20 -04:00
|
|
|
|
2016-02-08 14:49:30 -05:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| CSS Folder
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| The folder where css files exist, in relation to the document root
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
'css_root' => $document_root. '/css/',
|
2011-09-08 14:18:20 -04:00
|
|
|
|
2016-02-08 14:49:30 -05:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Path from
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Path fragment to rewrite in css files
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
'path_from' => '',
|
2011-09-09 17:23:38 -04:00
|
|
|
|
2016-02-08 14:49:30 -05:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Path to
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| The path fragment replacement for the css files
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
'path_to' => '',
|
2011-09-09 17:23:38 -04:00
|
|
|
|
2016-02-08 14:49:30 -05:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| CSS Groups file
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| The file where the css groups are configured
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
'css_groups_file' => realpath(__DIR__ . '/css_groups.php'),
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| JS Folder
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| The folder where javascript files exist, in relation to the document root
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
'js_root' => $document_root. '/js/',
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| JS Groups file
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| The file where the javascript groups are configured
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
'js_groups_file' => realpath(__DIR__ . '/js_groups.php'),
|
|
|
|
|
|
|
|
];
|