From: <ber...@us...> - 2011-05-13 23:29:18
|
Revision: 2596 http://ganglia.svn.sourceforge.net/ganglia/?rev=2596&view=rev Author: bernardli Date: 2011-05-13 23:29:12 +0000 (Fri, 13 May 2011) Log Message: ----------- Remove check_extensions.php since it is no longer used. According to Alex's benchmark, calling extension_loaded() is just as fast is querying the $loaded_extensions array. Removed Paths: ------------- branches/monitor-web-2.0/check_extensions.php Deleted: branches/monitor-web-2.0/check_extensions.php =================================================================== --- branches/monitor-web-2.0/check_extensions.php 2011-05-13 22:42:44 UTC (rev 2595) +++ branches/monitor-web-2.0/check_extensions.php 2011-05-13 23:29:12 UTC (rev 2596) @@ -1,15 +0,0 @@ -<?php - -/* - * Check if a list of PHP extensions have been loaded and if so - * push them into the array $loaded_extensions - */ - -$extensions_to_check = array('rrd'); -$loaded_extensions = array(); - -foreach ($extensions_to_check as $e) - if (extension_loaded($e)) - array_push($loaded_extensions, $e); - -?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |