XCache is a fast, stable PHP opcode cacher that has been proven and is now running on production servers under high load. https://xcache.lighttpd.net/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
630 B

<?php
// should be named as config.php
$charset = "UTF-8";
// $include_paths = array("/www/my-php-project/");
// $exclude_paths = array("/www/my-php-project/tmp/");
$syntaxhiglight = true;
$usecache = false;
//// $datadir is default to ini_get("xcache.coveragedump_directory")
// $datadir = '';
function ob_filter_path_nicer($o)
{
$sep = DIRECTORY_SEPARATOR;
$o = str_replace($_SERVER['DOCUMENT_ROOT'], "{DOCROOT}$sep", $o);
$xcachedir = realpath(dirname(__FILE__) . "$sep..$sep");
$o = str_replace($xcachedir . $sep, "{XCache}$sep", $o);
if ($sep == '/') {
$o = str_replace("/home/", "{H}/", $o);
}
return $o;
}
?>