Version 4.6.0

This commit is contained in:
Neo committed 2025-12-19 05:55:31 -08:00
1 parent f79dcf067a
commit 517a5e1f70
2036 files changed
+110041 -26162

No files matched your search

+4 -2
View File
@@ -30,13 +30,15 @@ class _hello extends \IPS\Api\Controller
* @apiresponse string communityName The name of the community
* @apiresponse string communityUrl The community URL
* @apiresponse string ipsVersion The Invision Community version number
* @apiresponse array applications The installed IPS Applications
*/
public function GETindex()
{
return new \IPS\Api\Response( 200, array(
'communityName' => \IPS\Settings::i()->board_name,
'communityUrl' => \IPS\Settings::i()->base_url,
'ipsVersion' => \IPS\Application::load('core')->version
) );
'ipsApplications' => \IPS\Application::load('core')->version,
'ipsApplications' => array_filter( array_keys( \IPS\Application::applications() ), function( $k ) { return \in_array( $k, \IPS\IPS::$ipsApps ); } )
) );
}
}