mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 03:09:58 +03:00
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
This commit is contained in:
parent
0bba3bfcf7
commit
6f04aba061
7 changed files with 861 additions and 20 deletions
6
i.php
6
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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue