multisize - added the coi (still to affine the admin ui + language)

multisize - derivatives can be revuild from a larger derviative instead of the original

git-svn-id: http://piwigo.org/svn/trunk@13038 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices 2012-02-06 20:59:20 +00:00
commit 0d277219fc
15 changed files with 2204 additions and 28 deletions

View file

@ -84,10 +84,10 @@ function pwg_query($query)
{
global $conf,$page,$debug,$t2;
$start = get_moment();
$start = microtime(true);
($result = mysql_query($query)) or my_error($query, $conf['die_on_sql_error']);
$time = get_moment() - $start;
$time = microtime(true) - $start;
if (!isset($page['count_queries']))
{
@ -199,7 +199,7 @@ function array_from_query($query, $fieldname)
$result = pwg_query($query);
while ($row = mysql_fetch_assoc($result))
{
array_push($array, $row[$fieldname]);
$array[] = $row[$fieldname];
}
return $array;