Your IP : 10.10.0.253


Current Path : /var/www/administrator/components/com_acym/controllers/
Upload File :
Current File : /var/www/administrator/components/com_acym/controllers/update.php

<?php

namespace AcyMailing\Controllers;

use AcyMailing\Helpers\HeaderHelper;
use AcyMailing\Libraries\acymController;

class UpdateController extends acymController
{
    public function checkForNewVersion()
    {
        $lastLicenseCheck = acym_checkVersion(true);
        $headerHelper = new HeaderHelper();

        acym_sendAjaxResponse(
            '',
            [
                'content' => $headerHelper->checkVersionArea(),
                'lastcheck' => acym_date($lastLicenseCheck, 'Y/m/d H:i'),
            ]
        );
    }
}