mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-04-14 11:46:10 +00:00
first commit
This commit is contained in:
25
lib/ExtraPacker/Lib/CssPacker.php
Executable file
25
lib/ExtraPacker/Lib/CssPacker.php
Executable file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
require_once dirname(__FILE__) . "/cssmin-v1.0.1.b3.php";
|
||||
|
||||
|
||||
/**
|
||||
* Пакеровщик css файлов
|
||||
*
|
||||
* @author Zmi
|
||||
*/
|
||||
class CssPacker
|
||||
{
|
||||
private $content;
|
||||
|
||||
public function __construct($c)
|
||||
{
|
||||
$this->content = $c;
|
||||
}
|
||||
|
||||
public function Pack()
|
||||
{
|
||||
return cssmin::minify($this->content);
|
||||
}
|
||||
};
|
||||
?>
|
||||
Reference in New Issue
Block a user