23 require
'../../main.inc.php';
25 $langs->load(
"admin");
29 $action =
GETPOST(
'action',
'aZ09');
42 if (!function_exists(
'xcache_info'))
44 print 'XCache seems to be not installed. Function xcache_info not found.';
50 print 'Opcode cache XCache is on<br><br>'.
"\n\n";
52 print $langs->trans(
"Split").
': '.ini_get(
'xcache.count').
' '.$langs->trans(
"Recommanded").
': (cat /proc/cpuinfo | grep -c processor) + 1<br>'.
"\n";
53 print $langs->trans(
"Size").
': '.ini_get(
'xcache.size').
' '.$langs->trans(
"Recommanded").
': 16*Split<br>'.
"\n";
55 print $langs->trans(
"xcache.cacher").
': '.
yn(ini_get(
'xcache.cacher')).
'<br>'.
"\n";
56 print $langs->trans(
"xcache.optimizer").
': '.
yn(ini_get(
'xcache.optimizer')).
' (will be usefull only with xcache v2)<br>'.
"\n";
57 print $langs->trans(
"xcache.stat").
': '.
yn(ini_get(
'xcache.stat')).
'<br>'.
"\n";
58 print $langs->trans(
"xcache.coverager").
': '.
yn(ini_get(
'xcache.coverager')).
'<br>'.
"\n";
GETPOST($paramname, $check= 'alphanohtml', $method=0, $filter=null, $options=null, $noreplace=0)
Return value of a param into GET or POST supervariable.
yn($yesno, $case=1, $color=0)
Return yes or no in current language.
load_fiche_titre($titre, $morehtmlright= '', $picto= 'generic', $pictoisfullpath=0, $id= '', $morecssontable= '', $morehtmlcenter= '')
Load a title with picto.
accessforbidden($message= '', $printheader=1, $printfooter=1, $showonlymessage=0, $params=null)
Show a message to say access is forbidden and stop program Calling this function terminate execution ...
print
Draft customers invoices.