| Server IP : 81.19.159.101 / Your IP : 216.73.217.178 Web Server : Apache System : Linux www58.world4you.com 4.18.0-553.126.2.lve.el8.x86_64 #1 SMP Thu May 28 14:12:30 UTC 2026 x86_64 User : ftp8817043 ( 2681) PHP Version : 8.4.21 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/.sites/103/site8817043/web/wp-content/plugins/akeebabackupwp/wpcli/ |
Upload File : |
<?php
/**
* @package solo
* @copyright Copyright (c)2014-2025 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 3, or later
*/
use Akeeba\WPCLI\Command\Backup;
use Akeeba\WPCLI\Command\Filter;
use Akeeba\WPCLI\Command\Log;
use Akeeba\WPCLI\Command\NamespaceDescription;
use Akeeba\WPCLI\Command\Option;
use Akeeba\WPCLI\Command\Profile;
use Akeeba\WPCLI\Command\Sysconfig;
if (!defined('AKEEBA_BACKUP_ORIGIN'))
{
define('AKEEBA_BACKUP_ORIGIN', 'cli');
}
try
{
AkeebaBackupWP::bootApplication('boot_wpcli.php');
WP_CLI::add_command('akeeba', NamespaceDescription::class);
WP_CLI::add_command('akeeba backup', Backup::class);
WP_CLI::add_command('akeeba filter', Filter::class);
WP_CLI::add_command('akeeba log', Log::class);
WP_CLI::add_command('akeeba option', Option::class);
WP_CLI::add_command('akeeba profile', Profile::class);
WP_CLI::add_command('akeeba sysconfig', Sysconfig::class);
}
catch (Exception $e)
{
WP_CLI::error("Could not register Akeeba Backup commands for WP-CLI.");
WP_CLI::error("Error message: {$e->getMessage()}");
}