Changeset 29729 for trunk/include
- Timestamp:
- Sep 22, 2014, 11:29:00 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/ws_functions/pwg.php
r27371 r29729 315 315 function ws_session_getStatus($params, &$service) 316 316 { 317 global $user ;317 global $user, $conf; 318 318 319 319 $res['username'] = is_a_guest() ? 'guest' : stripslashes($user['username']); … … 328 328 $res['current_datetime'] = $dbnow; 329 329 $res['version'] = PHPWG_VERSION; 330 331 if (is_admin()) 332 { 333 $res['upload_file_types'] = implode( 334 ',', 335 array_unique( 336 array_map( 337 'strtolower', 338 $conf['upload_form_all_types'] ? $conf['file_ext'] : $conf['picture_ext'] 339 ) 340 ) 341 ); 342 } 343 330 344 return $res; 331 345 }
Note: See TracChangeset
for help on using the changeset viewer.