<?php
$path = "C:\phpclasses";
include('../../class_crushJsCss/class_crushJsCss.php');
$i = 0;
$css[$i++]['file'] = $path.'\class_crushJsCss\examples\1.css';
$css[$i++]['file'] = $path.'\class_crushJsCss\examples\2.css';
$css[$i-1]['pack'] = false;
$css[$i++]['file'] = $path.'\class_crushJsCss\examples\3.css';
$style = new crushJsCss();
$style->scripts = $css;
$style->type = 'css';
// CSS tidy customization. Optional.
$style->tidy_cfg_sort_properties = true;
$style->tidy_cfg_remove_last_semicolon = true;
$style->tidy_cfg_preserve_css = true;
// Cache dir
$style->cachedir = $path.'\class_crushJsCss\cache';
$style->jscss();
?>
|