vendor/cerdic/css-tidy/css_optimiser.php
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php
/**
* CSSTidy - CSS Optimiser Interface
* This file produces an XHTML interface for optimising CSS code
*
* Copyright 2005, 2006, 2007 Florian Schmitz
*
* This file is part of CSSTidy.
*
* CSSTidy is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or
* (at your option) any later version.
*
* CSSTidy is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @license http://opensource.org/licenses/lgpl-license.php GNU Lesser General Public License
* @package csstidy
* @author Florian Schmitz (floele at gmail dot com) 2005-2007
* @author Brett Zamir (brettz9 at yahoo dot com) 2007
*/
require('class.csstidy.php');
require('lang.inc.php');
if (get_magic_quotes_gpc()) {
if (isset($_REQUEST['css_text'])) {
$_REQUEST['css_text'] = stripslashes($_REQUEST['css_text']);
}
if (isset($_REQUEST['custom'])) {
$_REQUEST['custom'] = stripslashes($_REQUEST['custom']);
}
if (isset($_COOKIE['custom_template'])) {
$_COOKIE['custom_template'] = stripslashes($_COOKIE['custom_template']);
}
}
function rmdirr($dirname,$oc=0)
{
// Sanity check
if (!file_exists($dirname)) {
return false;
}
// Simple delete for a file
if (is_file($dirname) && (time()-fileatime($dirname))>3600) {
return unlink($dirname);
}
// Loop through the folder
if (is_dir($dirname)) {
$dir = dir($dirname);
while (false !== $entry = $dir->read()) {
// Skip pointers
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。