Changeset 12920 for trunk/include/functions_picture.inc.php
- Timestamp:
- Jan 17, 2012, 10:58:18 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_picture.inc.php
r12855 r12920 3 3 // | Piwigo - a PHP based photo gallery | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2008-201 1Piwigo Team http://piwigo.org |5 // | Copyright(C) 2008-2012 Piwigo Team http://piwigo.org | 6 6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | 7 7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | … … 23 23 24 24 25 26 /*27 * Returns the name of a photo according to its name and its filename.28 * @param name string29 * @param filename string30 * @return string31 */32 function get_image_name($name, $filename)33 {34 if (!empty($name))35 {36 return $name;37 }38 else39 {40 return get_name_from_file($filename);41 }42 }43 44 25 /* 45 26 * @param element_info array containing element information from db;
Note: See TracChangeset
for help on using the changeset viewer.