[fix/namespaces] add namespaces for acp modules

This commit is contained in:
Marc Alexander
2013-10-29 19:53:28 +01:00
parent d2634566b8
commit 1c9e0da63c
3 changed files with 10 additions and 6 deletions

View File

@@ -7,6 +7,8 @@
*
*/
namespace board3\portal\acp;
if (!defined('IN_PHPBB'))
{
exit;
@@ -15,12 +17,12 @@ if (!defined('IN_PHPBB'))
/**
* @package module_install
*/
class phpbb_ext_board3_portal_acp_portal_info
class portal_info
{
public function module()
{
return array(
'filename' => 'phpbb_ext_board3_portal_acp_portal_module',
'filename' => '\board3\portal\acp\portal_module',
'title' => 'ACP_PORTAL',
'version' => '2.0.0b2',
'modes' => array(

View File

@@ -7,6 +7,8 @@
*
*/
namespace board3\portal\acp;
/**
* @ignore
*/
@@ -15,7 +17,7 @@ if (!defined('IN_PHPBB'))
exit;
}
class phpbb_ext_board3_portal_acp_portal_module
class portal_module
{
public $u_action;
public $new_config = array();