2024.8.23
|
Go to the source code of this file.
Variables | |
global | $bearsamppBins |
global | $bearsamppLang |
$port = $bearsamppBins->getXlight()->getPort() | |
$result | |
$textDisabled = $bearsamppLang->getValue(Lang::DISABLED) | |
$textServiceStarted = $bearsamppLang->getValue(Lang::HOMEPAGE_SERVICE_STARTED) | |
$textServiceStopped = $bearsamppLang->getValue(Lang::HOMEPAGE_SERVICE_STOPPED) | |
if($bearsamppBins->getXlight() ->checkPort($port)) | else |
foreach ( $bearsamppBins->getXlight() ->getVersionList() as $version) | |
global $bearsamppBins |
Definition at line 9 of file ajax.xlight.php.
global $bearsamppLang |
Definition at line 9 of file ajax.xlight.php.
$port = $bearsamppBins->getXlight()->getPort() |
Definition at line 24 of file ajax.xlight.php.
$result |
This script retrieves information about the Xlight service status and versions. It checks the SMTP port status and retrieves the list of available versions. The results are returned as a JSON-encoded array.
Definition at line 18 of file ajax.xlight.php.
$textDisabled = $bearsamppLang->getValue(Lang::DISABLED) |
Definition at line 28 of file ajax.xlight.php.
$textServiceStarted = $bearsamppLang->getValue(Lang::HOMEPAGE_SERVICE_STARTED) |
Definition at line 26 of file ajax.xlight.php.
$textServiceStopped = $bearsamppLang->getValue(Lang::HOMEPAGE_SERVICE_STOPPED) |
Definition at line 27 of file ajax.xlight.php.
if ( $bearsamppBins->getXlight() ->checkPort( $port)) else |
Check if the Xlight service is running on the specified port. If the port is open, indicate that the service is started. If the port is closed, indicate that the service is stopped. If the service is disabled, indicate that it is disabled.
Definition at line 42 of file ajax.xlight.php.
foreach($bearsamppBins->getXlight() ->getVersionList() as $version) | ( | $bearsamppBins->getXlight() ->getVersionList() as | ) |
Retrieve the list of available Xlight versions. Highlight the current version with a primary badge. Other versions are displayed with a secondary badge.
Definition at line 51 of file ajax.xlight.php.