| Server IP : 89.248.107.232 / Your IP : 216.73.217.70 Web Server : Apache System : Linux host2.kasilh.com 5.14.0-687.36.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 7 05:40:49 EDT 2026 x86_64 User : seg ( 10005) PHP Version : 7.4.33 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/seg-sa.es/serinco.es/wp-content/plugins/akeebabackupwp/app/Solo/View/Main/ |
Upload File : |
<?php
/**
* @package Solo
* @copyright 2014-2016 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU GPL version 3 or later
*/
namespace Solo\View\Main;
use Akeeba\Engine\Platform;
use Awf\Mvc\Model;
use Awf\Mvc\View;
use Solo\Model\Main;
use Solo\Model\Stats;
use Solo\Model\Update;
class Html extends \Solo\View\Html
{
public $profile;
public $profileList;
public $quickIconProfiles;
public $latestBackupDetails;
public $configUrl;
public $backupUrl;
public $needsDownloadId;
public $warnCoreDownloadId;
public $frontEndSecretWordIssue;
public $newSecretWord;
public $desktop_notifications;
public $statsIframe;
public $checkMbstring = true;
public function onBeforeMain()
{
/** @var Main $model */
$model = $this->getModel();
$session = $this->container->segment;
$this->profile = Platform::getInstance()->get_active_profile();
$this->profileList = $model->getProfileList();
$this->quickIconProfiles = $model->getQuickIconProfiles();
$this->latestBackupDetails = $model->getLatestBackupDetails();
if (!$this->container->segment->get('insideCMS', false))
{
$this->configUrl = $model->getConfigUrl();
}
$this->backupUrl = $model->getBackupUrl();
$this->needsDownloadId = $model->needsDownloadID();
$this->warnCoreDownloadId = $model->mustWarnAboutDownloadIdInCore();
$this->checkMbstring = $model->checkMbstring();
$this->frontEndSecretWordIssue = $model->getFrontendSecretWordError();
$this->newSecretWord = $session->get('newSecretWord', null);
$this->desktop_notifications =
Platform::getInstance()->get_platform_configuration_option('desktop_notifications', '0') ? 1 : 0;
/** @var Stats $statsModel */
$statsModel = Model::getTmpInstance($this->container->application_name, 'Stats', $this->container);
$this->statsIframe = $statsModel->collectStatistics(true);
return true;
}
}