%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 14.207.165.8 / Your IP : 216.73.216.26 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/thread-self/root/var/www/html/old/plugins/editors/jckeditor/typography/ |
Upload File : |
<?php
/*------------------------------------------------------------------------
# Copyright (C) 2005-2012 WebxSolution Ltd. All Rights Reserved.
# @license - GPLv2.0
# Author: WebxSolution Ltd
# Websites: http://www.webxsolution.com
# Terms of Use: An extension that is derived from the JoomlaCK editor will only be allowed under the following conditions: http://joomlackeditor.com/terms-of-use
# ------------------------------------------------------------------------*/
require('../includes.php');
defined( '_JEXEC' ) or die( 'Restricted access' );
$app = JFactory::getApplication('site');
//Get editor params
$plugin = JPluginHelper::getPlugin('editors','jckeditor');
if(is_string($plugin->params)) //always must do this check
$params = @ new JRegistry($plugin->params);
else $params = $plugin->params;
jckimport('ckeditor.plugins.helper');
//import plugins
JCKPluginsHelper::storePlugins('stylesheet');
JCKPluginsHelper::importPlugin('stylesheet');
$dispatcher = JDispatcher::getInstance();
$results = $dispatcher->trigger('load',array(&$params));
$contentCSS = implode("",$results);
// Remove comments
$contentCSS = preg_replace('!/\*[^*]*\*+([^/][^*]*\*+)*/!', '', $contentCSS);
// Remove space after colons
$contentCSS = str_replace(': ', ':', $contentCSS);
// Remove whitespace
$contentCSS = str_replace(array("\r\n", "\r", "\n", "\t", ' ', ' ', ' '), '', $contentCSS);
// Enable GZip encoding.
if($app->getCfg('gzip', false))
{
if(!ini_get('zlib.output_compression') && ini_get('output_handler')!='ob_gzhandler') //if server is configured to do this then leave it the server to do it's stuff
ob_start("ob_gzhandler");
}
// Enable caching
header('Cache-Control: public');
// Expire in one day
header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 86400) . ' GMT');
// Set the correct MIME type, because Apache won't set it for us
header("Content-type: text/css");
// Write everything out
echo $contentCSS;
?>