uawdijnntqw1x1x1
IP : 216.73.216.231
Hostname : 213-108-241-110.cprapid.com
Kernel : Linux 213-108-241-110.cprapid.com 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
digilove
/
public_html
/
components
/
com_akeeba
/
Controller
/
..
/
Controller
/
Json.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\Site\Controller; // Protect from unauthorized access defined('_JEXEC') || die(); use FOF40\Container\Container; use FOF40\Controller\Controller; use FOF40\Controller\Mixin\PredefinedTaskList; /** * Controller for the JSON API */ class Json extends Controller { use PredefinedTaskList; /** * Overridden constructor * * @param Container $container The application container * @param array $config The configuration array */ public function __construct(Container $container, array $config) { parent::__construct($container, $config); $this->setPredefinedTaskList(['json']); } /** * Handles API calls */ public function json() { // Use the model to parse the JSON message if (function_exists('ob_start')) { @ob_start(); } $sourceJSON = $this->input->get('json', null, 'raw', 2); /** @var \Akeeba\Backup\Site\Model\Json $model */ $model = $this->getModel(); $json = $model->execute($sourceJSON); if (function_exists('ob_end_clean')) { @ob_end_clean(); } // Just dump the JSON and tear down the application, without plugins executing header('Content-type: text/plain'); header('Connection: close'); echo $json; $this->container->platform->closeApplication(); } }
/home/digilove/public_html/components/com_akeeba/Controller/../Controller/Json.php