| Server IP : 54.36.91.62 / Your IP : 216.73.217.112 Web Server : Apache System : Linux webm013.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 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/www/cj79373/administrator/components/com_installer/controllers/ |
Upload File : |
<?php
/**
* @package Joomla.Administrator
* @subpackage com_installer
*
* @copyright (C) 2011 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
/**
* Installer Database Controller
*
* @since 2.5
*/
class InstallerControllerDatabase extends JControllerLegacy
{
/**
* Tries to fix missing database updates
*
* @return void
*
* @since 2.5
* @todo Purge updates has to be replaced with an events system
*/
public function fix()
{
// Check for request forgeries.
$this->checkToken();
$model = $this->getModel('database');
$model->fix();
// Purge updates
JModelLegacy::addIncludePath(JPATH_ADMINISTRATOR . '/components/com_joomlaupdate/models', 'JoomlaupdateModel');
$updateModel = JModelLegacy::getInstance('default', 'JoomlaupdateModel');
$updateModel->purge();
// Refresh versionable assets cache
JFactory::getApplication()->flushAssets();
$this->setRedirect(JRoute::_('index.php?option=com_installer&view=database', false));
}
}