Function custMinify
Get an array of previously defined files and adds them to our main minified files. Sets a one day cache to avoid re-creating a file on every request.
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs.php
array |
$data |
The files to minify. |
string |
$type |
either css or js. |
array
|
Info about the minified file, or about the original files if the minify process failed. |