uawdijnntqw1x1x1
IP : 216.73.216.168
Hostname : server.fattispazio.it
Kernel : Linux server.fattispazio.it 3.10.0-1160.144.1.el7.tuxcare.els4.x86_64 #1 SMP Tue Apr 7 08:40:40 UTC 2026 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
poliximo
/
public_html
/
home_
/
..
/
cli
/
pwtacl_rebuild.php
/
/
<?php /** * @package PwtAcl * * @author Sander Potjer - Perfect Web Team <extensions@perfectwebteam.com> * @copyright Copyright (C) 2011 - 2019 Perfect Web Team. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html * @link https://extensions.perfectwebteam.com/pwt-acl */ use Joomla\CMS\Factory; use Joomla\CMS\MVC\Model\BaseDatabaseModel; // Set flag that this is a parent file. const _JEXEC = 1; error_reporting(E_ALL | E_NOTICE); ini_set('display_errors', 1); // Load system defines if (file_exists(dirname(__DIR__) . '/defines.php')) { require_once dirname(__DIR__) . '/defines.php'; } if (!defined('_JDEFINES')) { define('JPATH_BASE', dirname(__DIR__)); require_once JPATH_BASE . '/includes/defines.php'; } require_once JPATH_LIBRARIES . '/import.legacy.php'; require_once JPATH_LIBRARIES . '/cms.php'; // Load the configuration require_once JPATH_CONFIGURATION . '/configuration.php'; // Define JDEBUG define('JDEBUG', false); /** * This script will rebuild the #__assets table via the PWT ACL Diagnostics tool * * @since 3.0 */ class PwtaclRebuild extends JApplicationCli { /** * Entry point for the script * * @return void * @since 3.0 * @throws Exception */ public function doExecute() { // Run as administrator application Factory::getApplication('administrator'); // Load the model. BaseDatabaseModel::addIncludePath(JPATH_ADMINISTRATOR . '/components/com_pwtacl/models', 'PwtaclModel'); // Start the rebuild $this->out('============================'); $this->out('Start rebuild Assets table'); try { /** @var PwtaclModelDiagnostics $model */ $model = BaseDatabaseModel::getInstance('Diagnostics', 'PwtaclModel', array('ignore_request' => true)); $model->rebuildAssetsTable(); } catch (Exception $e) { $this->out('Failed to rebuild'); } $this->out('Finished rebuild Assets table'); $this->out('============================'); } } JApplicationCli::getInstance('PwtaclRebuild')->execute();
/home/poliximo/public_html/home_/../cli/pwtacl_rebuild.php