1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/12507] Add console command to purge the cache

PHPBB3-12507
This commit is contained in:
Tristan Darricau
2014-05-06 16:50:18 +02:00
parent 571d6ae852
commit 06ecb62abd
3 changed files with 74 additions and 0 deletions

View File

@@ -33,6 +33,7 @@ $phpbb_class_loader_ext->register();
$phpbb_container = phpbb_create_update_container($phpbb_root_path, $phpEx, "$phpbb_root_path/config");
$phpbb_container->get('request')->enable_super_globals();
require($phpbb_root_path . 'includes/compatibility_globals.' . $phpEx);
require($phpbb_root_path . 'includes/functions_admin.' . $phpEx);
$application = new \phpbb\console\application('phpBB Console', PHPBB_VERSION);
$application->register_container_commands($phpbb_container);