1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/11700] Fix extension loading with namespaces

class loader now expects all classes to be prefixed with a backslash
when resolving paths

PHPBB3-11700
This commit is contained in:
Nils Adermann
2013-09-19 18:29:08 +02:00
parent f205c4fad4
commit fe36375a36
23 changed files with 72 additions and 46 deletions

View File

@@ -1,5 +1,7 @@
<?php
class phpbb_ext_bar_my_hidden_class
namespace bar\my;
class hidden_class
{
}

View File

@@ -11,7 +11,7 @@ class foo_info
public function module()
{
return array(
'filename' => 'phpbb_ext_foo_acp_fail_module',
'filename' => 'foo\acp\fail_module',
'title' => 'Foobar',
'version' => '3.1.0-dev',
'modes' => array(