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

[ticket/11700] Correctly load extensions with nonprefixed namespaces

PHPBB3-11700
This commit is contained in:
Nils Adermann
2013-09-17 16:15:44 +02:00
parent d12f358855
commit c4b53490ad
29 changed files with 111 additions and 72 deletions

View File

@@ -1,11 +1,13 @@
<?php
class phpbb_ext_barfoo_acp_a_info
namespace barfoo\acp;
class a_info
{
public function module()
{
return array(
'filename' => 'phpbb_ext_barfoo_acp_a_module',
'filename' => 'barfoo\\acp\\a_module',
'title' => 'Barfoo',
'version' => '3.1.0-dev',
'modes' => array(

View File

@@ -1,5 +1,7 @@
<?php
class phpbb_ext_barfoo_acp_a_module
namespace barfoo\acp;
class a_module
{
}

View File

@@ -1,5 +1,7 @@
<?php
class phpbb_ext_barfoo_ext extends \phpbb\extension\base
namespace barfoo;
class ext extends \phpbb\extension\base
{
}