*/
public function listGalleries($params = array())
{
- // If no app is given use Ansel's own gallery which is initialized in
- // base.php
+ // If no app is given use Ansel's own gallery
if (!empty($params['scope'])) {
$GLOBALS['injector']->getInstance('Ansel_Config')->set('scope', $params['scope']);
}
if (!is_null($app) && $GLOBALS['conf']['vfs']['src'] != 'direct') {
$imagelist[$id]['url']->add('app', $app);
}
+ $imagelist[$id]['url'] = $imagelist[$id]['url']->toString();
}
return $imagelist;
}