aboutsummaryrefslogtreecommitdiffstats
path: root/install.php
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2010-04-10 19:49:30 +0000
committernikrou <nikrou@piwigo.org>2010-04-10 19:49:30 +0000
commit8ed51d84970bd1ce44a093d0ae5801a7c656b821 (patch)
tree6d80e4dcf9c8a44503b735a205228db7548c84e0 /install.php
parent3d20e56ada54a50b2c85dff71c5ee8f6e9a81a46 (diff)
Fix some issues with database connections.
install_db_connect() function must return database resource link insert into set syntax is mysql specific git-svn-id: http://piwigo.org/svn/trunk@5781 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'install.php')
-rw-r--r--install.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.php b/install.php
index 7ddd080b7..f56c32236 100644
--- a/install.php
+++ b/install.php
@@ -262,7 +262,7 @@ include(PHPWG_ROOT_PATH . 'admin/include/functions_upgrade.php');
if ( isset( $_POST['install'] ))
{
- if (install_db_connect($infos, $errors))
+ if ($pwg_db_link = install_db_connect($infos, $errors))
{
$required_version = constant('REQUIRED_'.strtoupper($dblayer).'_VERSION');
if ( version_compare(pwg_get_db_version(), $required_version, '>=') )