<?php
require_once("/home/www/wwwbuzzerstar/libraryv3/min/bootstrap.php");
require_once("/home/www/wwwbuzzerstar/libraryv3/min/config.php");
require_once("/home/www/wwwbuzzerstar/libraryv3/min/lib/Minify/CSS.php");

use JSMin\JSMin;
	
class Minify {
	public function minifyMe($src){
		//$minifyCachePath = "/home/compress";
		return JSMin::minify($src);
	}
	
	public function minifyHTML($content) {
		 $content = Minify_HTML::minify($content, array(
			'cssMinifier' => array('Minify_CSS', 'minify')
		));
		return $content;
	}
}

/*
function replace_tabs_newlines($content) {
    require_once 'min/lib/Minify/HTML.php';
    require_once 'min/lib/Minify/CSS.php';
    require_once 'min/lib/JSMin.php';
    $content = Minify_HTML::minify($content, array(
        'cssMinifier' => array('Minify_CSS', 'minify'),
        'jsMinifier' => array('JSMin', 'minify')
    ));
    return $content;
}
*/
?>