<?php namespace kcfinder; chdir(".."); chdir(".."); require "core/autoload.php"; $theme = basename(dirname(__FILE__)); $min = new minifier("css"); $min->minify("cache/theme_{$theme}.css");
<?php /** This file is part of KCFinder project * * @desc Join all CSS files from current directory * @package KCFinder * @version 3.12 * @author Pavel Tzonkov <*****@*****.**> * @copyright 2010-2014 KCFinder Project * @license http://opensource.org/licenses/GPL-3.0 GPLv3 * @license http://opensource.org/licenses/LGPL-3.0 LGPLv3 * @link http://kcfinder.sunhater.com */ namespace kcfinder; chdir(".."); require "core/autoload.php"; $min = new minifier("css"); $min->minify("cache/base.css");
<?php namespace kcfinder; chdir(".."); chdir(".."); require "core/autoload.php"; $min = new minifier("css"); $min->minify("cache/theme_oxygen.css");
<?php /** This file is part of KCFinder project * * @desc Join all JavaScript files from current directory * @package KCFinder * @version 3.12 * @author Pavel Tzonkov <*****@*****.**> * @copyright 2010-2014 KCFinder Project * @license http://opensource.org/licenses/GPL-3.0 GPLv3 * @license http://opensource.org/licenses/LGPL-3.0 LGPLv3 * @link http://kcfinder.sunhater.com */ namespace kcfinder; chdir(".."); require "core/autoload.php"; $min = new minifier("js"); $min->minify("cache/base.js");
<?php namespace kcfinder; chdir(".."); chdir(".."); require "core/autoload.php"; $min = new minifier("js"); $min->minify("cache/theme_dark.js");