aboutsummaryrefslogtreecommitdiffstats
path: root/i.php
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2013-01-30 11:12:22 +0000
committermistic100 <mistic@piwigo.org>2013-01-30 11:12:22 +0000
commit6f04aba061be1202b7f987db6bac03014cf01aeb (patch)
treedc59c3e896685d403019bbb5d167c1057af21119 /i.php
parent0bba3bfcf74c8da52c722fc06084c0e779178187 (diff)
feature:65 Add support for PHP mysqli extension, activated by default, remove returns of link_identifier
git-svn-id: http://piwigo.org/svn/trunk@20462 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'i.php')
-rw-r--r--i.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/i.php b/i.php
index c4702c0d7..d0d70cc84 100644
--- a/i.php
+++ b/i.php
@@ -402,8 +402,8 @@ include_once( PHPWG_ROOT_PATH .'/include/derivative_std_params.inc.php');
try
{
- $pwg_db_link = pwg_db_connect($conf['db_host'], $conf['db_user'],
- $conf['db_password'], $conf['db_base']);
+ pwg_db_connect($conf['db_host'], $conf['db_user'],
+ $conf['db_password'], $conf['db_base']);
}
catch (Exception $e)
{
@@ -511,7 +511,7 @@ else
{
$page['rotation_angle'] = 0;
}
-pwg_db_close($pwg_db_link);
+pwg_db_close();
if (!try_switch_source($params, $src_mtime) && $params->type==IMG_CUSTOM)
{