#!/usr/bin/env php * @license GNU General Public License, version 2 (GPL-2.0) * * For full copyright and license information, please see * the docs/CREDITS.txt file. * */ use Symfony\Component\Console\Input\ArgvInput; if (php_sapi_name() != 'cli') { echo 'This program must be run from the command line.' . PHP_EOL; exit(1); } define('IN_PHPBB', true); if (!defined('PHPBB_ENVIRONMENT')) { @define('PHPBB_ENVIRONMENT', 'production'); } $phpbb_root_path = __DIR__ . '/../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); require($phpbb_root_path . 'includes/startup.' . $phpEx); require($phpbb_root_path . 'phpbb/class_loader.' . $phpEx); $phpbb_class_loader = new \phpbb\class_loader('phpbb\\', "{$phpbb_root_path}phpbb/", $phpEx); $phpbb_class_loader->register(); $phpbb_config_php_file = new \phpbb\config_php_file($phpbb_root_path, $phpEx); extract($phpbb_config_php_file->get_all()); require($phpbb_root_path . 'includes/constants.' . $phpEx); require($phpbb_root_path . 'includes/functions.' . $phpEx); require($phpbb_root_path . 'includes/functions_admin.' . $phpEx); require($phpbb_root_path . 'includes/utf/utf_tools.' . $phpEx); $phpbb_container_builder = new \phpbb\di\container_builder($phpbb_config_php_file, $phpbb_root_path, $phpEx); $phpbb_container_builder->set_dump_container(false); $input = new ArgvInput(); if ($input->hasParameterOption(array('--safe-mode'))) { $phpbb_container_builder->set_use_extensions(false); $phpbb_container_builder->set_dump_container(false); } else { $phpbb_class_loader_ext = new \phpbb\class_loader('\\', "{$phpbb_root_path}ext/", $phpEx); $phpbb_class_loader_ext->register(); phpbb_load_extensions_autoloaders($phpbb_root_path); } $phpbb_container = $phpbb_container_builder->get_container(); $phpbb_container->get('request')->enable_super_globals(); require($phpbb_root_path . 'includes/compatibility_globals.' . $phpEx); /* @var $user \phpbb\user */ $user = $phpbb_container->get('user'); $user->add_lang('acp/common'); $user->add_lang('cli'); $application = new \phpbb\console\application('phpBB Console', PHPBB_VERSION, $user); $application->register_container_commands($phpbb_container->get('console.command_collection')); $application->run($input); avMbV\7)xz>hg'ϒ%ܡ%W_k5)^pHϐ?>Vvmg_eʋݐTeW&HӃgG{sUu\bo㰂Lx3uwкLĮP?S6ij՞FTy'GϺ\:.`Rp/JSnug'ܷѥ HymmiyJ(kR;;m-(4ݯt,t'W (#{zV [PBFYz"_d;^ $n?Op= UP0z;GWqfv,)RF4*4m8Gi714"Of;M/0iut֛&'Y|X2VNS!0oFp\$0bsiU e#-}μqApsydޥ',yɑ'X' s!Lʄ'6fmKWo8@VFK-';lk-+̦٥N;ǬHCˑ XY~0)z YB*M'r]֭kuP 2f9wx.#V$6t~;WxN;%2K*),_~C9Fksf,۹nGrQ]=MT''vB#MJUޓty߾C~w:nv]'nl/74 3{^d?]e"~>~碰{վڭ? q`K>^1ЍAIp`H] Q|O ZW1xRmBEC [th -Bna}ڢ17\/x\3AQ~"2Dx,emٳG T>܍9'3 U) 'TJrUN4&J!2̂8 .ld3H^Og/϶̀BdKщ xд+d :-_FV1qq 튦 ^%8ܣj\7l%6#*!BX ܝ$Fwjܛ%>fգev7tp))38&Vþ_w[|$OeȐ8131Mޮ-?;,^v! #xtlfͰ|*0tl^ä~\Y3;d26ȼG ڄIlbYk.+k6ʥDd;d瀷rVcE/B K謳\k`˔ZWr㮶L|_1%y_3iv!̙|EIicV^Uhff5F1Q!/G5, 쫵NQnKLhYD#JEzDڤ
[N'.q01Iv iMFI0@=j6;