Topic: Make detect eAccelerator in admin_index.php
I use eAccelerator to increase performance of PHP scripts, but in admin_index.php it can not detect correctly.So I modify some code like below.
In admin_index.php about line 143:
// 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 (isset($_PHPA))
$php_accelerator = '<a href="http://www.php-accelerator.co.uk/">ionCube PHP Accelerator</a>';
else
$php_accelerator = 'N/A';
Replace with:
// See if MMCache or eAccelerator 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'))
$php_accelerator = '<a href="http://eaccelerator.net/">eAccelerator</a>';
else if (isset($_PHPA))
$php_accelerator = '<a href="http://www.php-accelerator.co.uk/">ionCube PHP Accelerator</a>';
else
$php_accelerator = 'N/A';
Just make it "look" better.