Version 5.0.0 beta 1

This commit is contained in:
Neo committed 2025-12-19 16:27:35 -08:00
1 parent 25ddeb65d6
commit 15c7beabc5
6736 files changed
+627902 -497943

No files matched your search

@@ -8,7 +8,10 @@
* @since 15 Apr 2014
*/
\define('REPORT_EXCEPTIONS', TRUE);
use IPS\Application;
use IPS\Output;
define('REPORT_EXCEPTIONS', TRUE);
require_once str_replace( 'applications/core/interface/versions/versions.php', '', str_replace( '\\', '/', __FILE__ ) ) . 'init.php';
/**
@@ -38,13 +41,13 @@ class versions
public function get()
{
$apps = array();
foreach (\IPS\Application::applications() as $key => $application )
foreach (Application::applications() as $key => $application )
{
$apps[$key]['human'] = $application->version;
$apps[$key]['long'] = $application->long_version;
}
\IPS\Output::i()->sendOutput( json_encode( $apps ), 200, 'application/json', array(), FALSE );
Output::i()->sendOutput( json_encode( $apps ), 200, 'application/json', array(), FALSE );
}
}