mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-10 02:36:38 +02:00
[ticket/12273] Move event exporter to namespace
PHPBB3-12273
This commit is contained in:
@@ -13,7 +13,7 @@ if (php_sapi_name() != 'cli')
|
||||
|
||||
$phpEx = substr(strrchr(__FILE__, '.'), 1);
|
||||
$phpbb_root_path = __DIR__ . '/../';
|
||||
require __DIR__ . '/event_exporter.' . $phpEx;
|
||||
require __DIR__ . '/../phpbb/event/exporter.' . $phpEx;
|
||||
|
||||
function usage()
|
||||
{
|
||||
@@ -41,7 +41,7 @@ function validate_argument_count($arguments, $count)
|
||||
validate_argument_count($argc, 1);
|
||||
|
||||
$action = $argv[1];
|
||||
$exporter = new \event_exporter($phpbb_root_path);
|
||||
$exporter = new \phpbb\event\exporter($phpbb_root_path);
|
||||
|
||||
switch ($action)
|
||||
{
|
||||
|
Reference in New Issue
Block a user