cvs: phpweb / mirror-info.php

From: Date: Wed, 07 Mar 2007 21:02:04 +0000
Subject: cvs: phpweb / mirror-info.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-34580@lists.php.net to get a copy of this message
bjori Wed Mar 7 21:02:04 2007 UTC Modified files: /phpweb mirror-info.php Log: Misuse the 'has_search' field to check for SQLite availability http://cvs.php.net/viewvc.cgi/phpweb/mirror-info.php?r1=1.20&r2=1.21&diff_format=u Index: phpweb/mirror-info.php diff -u phpweb/mirror-info.php:1.20 phpweb/mirror-info.php:1.21 --- phpweb/mirror-info.php:1.20 Tue Sep 12 11:36:23 2006 +++ phpweb/mirror-info.php Wed Mar 7 21:02:04 2007 @@ -1,5 +1,5 @@ <?php -// $Id: mirror-info.php,v 1.20 2006/09/12 11:36:23 goba Exp $ +// $Id: mirror-info.php,v 1.21 2007/03/07 21:02:04 bjori Exp $ // Define $MYSITE and $LAST_UPDATED variables include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc'; @@ -13,11 +13,14 @@ // Check for an existing exe file (identifies rsync setup problems) $exefile = (int) file_exists($_SERVER['DOCUMENT_ROOT'] . '/distributions/php-5.1.5-installer.exe'); +// Does this mirror have sqlite? +$sqlite = (int) function_exists("sqlite_open"); + echo join('|', array( $MYSITE, // 0: ServerName problems phpversion(), // 1: PHP version overview $LAST_UPDATED, // 2: Update problems - 0, // 3: Search support is not tracked anymore + $sqlite, // 3: SQLite support? $mirror_stats, // 4: Optional local stats support default_language(), // 5: Mirror language 'manual-noalias', // 6: /manual alias check is done elsewhere now

« previous php.mirrors (#34580) next »