uawdijnntqw1x1x1
IP : 216.73.216.219
Hostname : webm015.cluster127.gra.hosting.ovh.net
Kernel : Linux webm015.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
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
pteabiscqq
/
www
/
.
/
administrator
/
components
/
com_akeeba
/
CliCommands
/
MixIt
/
FilterRoots.php
/
/
<?php /** * @package akeebabackup * @copyright Copyright (c)2006-2023 Nicholas K. Dionysopoulos / Akeeba Ltd * @license GNU General Public License version 3, or later */ namespace Akeeba\Backup\Admin\CliCommands\MixIt; defined('_JEXEC') || die; use Akeeba\Backup\Admin\Model\DatabaseFilters; use Akeeba\Engine\Factory; use FOF40\Container\Container; trait FilterRoots { /** * @param string $target * * @return array * * @since 7.5.0 */ private function getRoots(string $target): array { $container = Container::getInstance('com_akeeba', [], 'admin'); $filters = Factory::getFilters(); $output = []; switch ($target) { case 'fs': $rootInfo = $filters->getInclusions('dir'); foreach ($rootInfo as $item) { $output[] = $item[0]; } break; case 'db': /** @var DatabaseFilters $model */ $model = $container->factory->model('DatabaseFilters')->tmpInstance(); $rootInfo = $model->get_roots(); foreach ($rootInfo as $item) { $output[] = $item->value; } break; } return $output; } }
/home/pteabiscqq/www/./administrator/components/com_akeeba/CliCommands/MixIt/FilterRoots.php