Your IP : 216.73.216.170


Current Path : /var/www/iplanru/data/www/i-plan.ru/templates/yoo_everest/warp/gzip/
Upload File :
Current File : /var/www/iplanru/data/www/i-plan.ru/templates/yoo_everest/warp/gzip/gzip.php

<?php 
/**
* @package   Warp Theme Framework
* @author    YOOtheme http://www.yootheme.com
* @copyright Copyright (C) YOOtheme GmbH
* @license   http://www.gnu.org/licenses/gpl.html GNU/GPL
*/

// set gzip handler
if (extension_loaded('zlib') && !ini_get('zlib.output_compression')) @ob_start('ob_gzhandler');

// include file
if (isset($_SERVER['QUERY_STRING']) && $_SERVER['QUERY_STRING']) {

	$query = (string) preg_replace('/[^A-Z0-9_\.-]/i', '', $_SERVER['QUERY_STRING']);

	if (($file = realpath(dirname(__FILE__).DIRECTORY_SEPARATOR.$query)) && is_file($file)) {
		if ($type = pathinfo($file, PATHINFO_EXTENSION)) {
			
			// set header
			if ($type == 'css') header('Content-type: text/css; charset=UTF-8');
			if ($type == 'js') header('Content-type: application/x-javascript');
			header('Cache-Control: max-age=86400');

			// load file
			include($file);

		}
	}

}


Warning: Unknown: open(/var/www/iplanru/data/bin-tmp/sess_8cc3ac4642f8e2714d6ba338d6c53edf, O_RDWR) failed: No space left on device (28) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/www/iplanru/data/bin-tmp) in Unknown on line 0