示例#1
0
文件: css.php 项目: anton-kol/buelo
<?php

namespace kcfinder;

chdir("..");
chdir("..");
require "core/autoload.php";
$theme = basename(dirname(__FILE__));
$min = new minifier("css");
$min->minify("cache/theme_{$theme}.css");
示例#2
0
<?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");
示例#3
0
<?php

namespace kcfinder;

chdir("..");
chdir("..");
require "core/autoload.php";
$min = new minifier("css");
$min->minify("cache/theme_oxygen.css");
示例#4
0
<?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");
示例#5
0
<?php

namespace kcfinder;

chdir("..");
chdir("..");
require "core/autoload.php";
$min = new minifier("js");
$min->minify("cache/theme_dark.js");