From: <var...@us...> - 2015-02-28 16:57:36
|
Revision: 9576 http://sourceforge.net/p/phpwiki/code/9576 Author: vargenau Date: 2015-02-28 16:57:34 +0000 (Sat, 28 Feb 2015) Log Message: ----------- PDO is part of language now Modified Paths: -------------- trunk/lib/IniConfig.php Modified: trunk/lib/IniConfig.php =================================================================== --- trunk/lib/IniConfig.php 2015-02-27 18:16:08 UTC (rev 9575) +++ trunk/lib/IniConfig.php 2015-02-28 16:57:34 UTC (rev 9576) @@ -324,15 +324,7 @@ DATABASE_TYPE, join(",", $valid_database_types)), E_USER_ERROR); unset($valid_database_types); - if (DATABASE_TYPE == 'PDO') { - // try to load it dynamically (unix only) - if (!loadPhpExtension("pdo")) { - echo $GLOBALS['php_errormsg'], "<br>\n"; - trigger_error(sprintf("dl() problem: Required extension “%s” could not be loaded!", - "pdo"), - E_USER_ERROR); - } - } + // Detect readonly database, e.g. system mounted read-only for maintenance // via dbh->readonly later. Unfortunately not possible as constant. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |