From e6226719369d438d3d915d6f88ae25b5c7158160 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 24 Mar 2011 22:43:03 +0100 Subject: [PATCH] removed obsolete prerequisite testing script --- misc/tools/check.php | 90 -------------------------------------------- 1 file changed, 90 deletions(-) delete mode 100644 misc/tools/check.php diff --git a/misc/tools/check.php b/misc/tools/check.php deleted file mode 100644 index efd4d67..0000000 --- a/misc/tools/check.php +++ /dev/null @@ -1,90 +0,0 @@ - - * @copyright Copyright (c) 2010, The volkszaehler.org project - * @license http://www.gnu.org/licenses/gpl.txt GNU Public License - */ -/* - * This file is part of volkzaehler.org - * - * volkzaehler.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * any later version. - * - * volkzaehler.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with volkszaehler.org. If not, see . - */ - -/** - * @param boolean - * @return string HTML formatted output - */ -function print_test($bool) { - if ($bool) { - return 'ok'; - } - else { - return 'fail'; - } -} - -array( - 'php_version' => version_compare(phpversion(), '5.3.0'), - 'pdo' => extension_loaded('pdo'), - 'pdo_version' => version_compare(phpversion('pdo'), '5.3.0')), - 'pdo_my' - -extension_loaded('pdo_firebird') -extension_loaded('pdo_informix') -extension_loaded('pdo_mssql') -extension_loaded('pdo_mysql') -extension_loaded('pdo_oci') -extension_loaded('pdo_oci8') -extension_loaded('pdo_odbc') -extension_loaded('pdo_pgsql') -extension_loaded('pdo_sqlite') - -pdo_firebird -pdo_informix -pdo_mssql -pdo_mysql -pdo_oci -pdo_oci8 -pdo_odbc -pdo_pgsql -pdo_sqlite - -) - - -?> - -

PHP version

-

Your PHP version:
-Required version: 5.3.0
-

- -

PDO (PHP Data Objects)

-

Your PDO version:
-Required version: 5.3.0
-

- -// TODO check for PDO drivers (at least one) -// TODO check for additional Doctrine requirements - -// TODO check for APC (optional) - -// TODO check for Doctrine libraries & version -// TODO check for Symfony libraries &version (optional) -// TODO check for volkszaehler.org backend -// TODO check for volkszaehler.org (optional) - -?> \ No newline at end of file