svn: /web/php-master/trunk/manage/ mirrors.php
| From: | Hannes Magnusson | Date: | Tue, 24 Nov 2009 20:10:19 +0000 |
| Subject: | svn: /web/php-master/trunk/manage/ mirrors.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-6598@lists.php.net to get a copy of this message | ||
bjori Tue, 24 Nov 2009 20:10:19 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=291281
Log:
Show not only sqlite2, but all sqlites
# Nuked some dead code too
Changed paths:
U web/php-master/trunk/manage/mirrors.php
Modified: web/php-master/trunk/manage/mirrors.php
===================================================================
--- web/php-master/trunk/manage/mirrors.php 2009-11-24 20:05:30 UTC (rev 291280)
+++ web/php-master/trunk/manage/mirrors.php 2009-11-24 20:10:19 UTC (rev 291281)
@@ -114,13 +114,6 @@
);
}
- // Local search type displays
- $searchtypes = array(
- '0' => 'Not supported',
- '1' => 'Supported',
- '2' => 'Supported (old method)'
- );
-
// Print out mirror data table with or without values
?>
<form method="POST" action="<?php echo $PHP_SELF; ?>">
@@ -209,13 +202,7 @@
<th align="right">PHP version used:</th>
<td><?php print_version($row['phpversion']); ?></td>
</tr>
-<!--
<tr>
- <th align="right">Local Search:</th>
- <td><?php echo $searchtypes[$row['has_search']]; ?></td>
- </tr>
--->
- <tr>
<th align="right">SQLite available:</th>
<td><?php echo implode(' : ',
decipher_available_sqlites($row['has_search'])); ?></td>
</tr>
@@ -352,8 +339,9 @@
if (!$searchcell) { $searchcell = " "; }
*/
- if (is_sqlite_type_available($row['has_search'], 'sqlite')) {
- $searchcell = "SQLite 2";
+ $sqlites = decipher_available_sqlites($row['has_search']);
+ if ($sqlites) {
+ $searchcell = implode(", ", $sqlites);
$stats['has_search']++;
} else {
$searchcell = " ";