mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-27 19:59:56 +03:00
Feature 511 : add support for sqlite database engine
Using session_write_close function when session handler use database because write is called after object destruction. git-svn-id: http://piwigo.org/svn/trunk@4781 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
22191d91a2
commit
386864cd26
10 changed files with 1151 additions and 69 deletions
|
@ -458,9 +458,10 @@ function do_maintenance_all_tables()
|
|||
}
|
||||
}
|
||||
|
||||
function pwg_db_concat_ws($string, $separaor)
|
||||
function pwg_db_concat_ws($array, $separator)
|
||||
{
|
||||
return 'CONCAT_WS(\''.$separaor.'\','. $string.')';
|
||||
$string = implode($array, ',');
|
||||
return 'CONCAT_WS(\''.$separator.'\','. $string.')';
|
||||
}
|
||||
|
||||
function pwg_db_cast_to_text($string)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue