mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 09:52:29 +02:00
fixes #416, returns available_sizes in pwg.session.getStatus
This commit is contained in:
@@ -327,6 +327,7 @@ function ws_session_getStatus($params, &$service)
|
||||
list($dbnow) = pwg_db_fetch_row(pwg_query('SELECT NOW();'));
|
||||
$res['current_datetime'] = $dbnow;
|
||||
$res['version'] = PHPWG_VERSION;
|
||||
$res['available_sizes'] = implode(',', array_keys(ImageStdParams::get_defined_type_map()));
|
||||
|
||||
if (is_admin())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user