Topic: admin : eAccelerator accelerator info
A little patch for eaccelerator display in admin :
Index: admin_index.php
===================================================================
--- admin_index.php (revision 355)
+++ admin_index.php (working copy)
@@ -138,6 +138,11 @@
// See if MMCache or PHPA is loaded
if (function_exists('mmcache'))
$php_accelerator = '<a href="http://turck-mmcache.sourceforge.net/">Turck MMCache</a>';
+else if (function_exists('eaccelerator_info'))
+{
+ $php_accelerator_info = eaccelerator_info();
+ $php_accelerator = '<a href="http://eaccelerator.net/">eAccelerator '.$php_accelerator_info['version'].'</a>';
+}
else if (isset($_PHPA))
$php_accelerator = '<a href="http://www.php-accelerator.co.uk/">ionCube PHP Accelerator</a>';
else