Ignore:
Timestamp:
Jan 17, 2012, 10:58:18 PM (13 years ago)
Author:
rvelices
Message:

feature 2548 multisize - code cleanup + better usage in category_cats + i.php logs memory usage peak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_picture.inc.php

    r12855 r12920  
    33// | Piwigo - a PHP based photo gallery                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2011 Piwigo Team                  http://piwigo.org |
     5// | Copyright(C) 2008-2012 Piwigo Team                  http://piwigo.org |
    66// | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    77// | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     
    2323
    2424
    25 
    26 /*
    27  * Returns the name of a photo according to its name and its filename.
    28  * @param name string
    29  * @param filename string
    30  * @return string
    31  */
    32 function get_image_name($name, $filename)
    33 {
    34   if (!empty($name))
    35   {
    36     return $name;
    37   }
    38   else
    39   {
    40     return get_name_from_file($filename);
    41   }
    42 }
    43 
    4425/*
    4526 * @param element_info array containing element information from db;
Note: See TracChangeset for help on using the changeset viewer.