comparison mgallery.inc.php @ 293:486398fb60ea

Allow album-specific {tn,med}_{width,height,format} settings.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 01 Aug 2019 15:26:08 +0300
parents 19fbf800b1f7
children 38f510786d88
comparison
equal deleted inserted replaced
292:418f932763f2 293:486398fb60ea
193 } 193 }
194 break; 194 break;
195 } 195 }
196 196
197 return $val; 197 return $val;
198 }
199
200
201 function mgGetAlbumSetting(&$data, $key, $default = NULL)
202 {
203 if (array_key_exists($key, $data))
204 return $data[$key];
205 else
206 return mgGetSetting($key, $default);
198 } 207 }
199 208
200 209
201 function mgGetPath($path, $key) 210 function mgGetPath($path, $key)
202 { 211 {