aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/template/asset.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/template/asset.php')
-rw-r--r--phpBB/phpbb/template/asset.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/phpBB/phpbb/template/asset.php b/phpBB/phpbb/template/asset.php
index 2b10dd8848..0e0b6b4782 100644
--- a/phpBB/phpbb/template/asset.php
+++ b/phpBB/phpbb/template/asset.php
@@ -7,6 +7,8 @@
*
*/
+namespace phpbb\template;
+
/**
* @ignore
*/
@@ -15,11 +17,11 @@ if (!defined('IN_PHPBB'))
exit;
}
-class phpbb_template_asset
+class asset
{
protected $components = array();
- /** @var phpbb_filesystem **/
+ /** @var \phpbb\filesystem **/
protected $phpbb_filesystem;
/**
@@ -27,7 +29,7 @@ class phpbb_template_asset
*
* @param string $url URL
*/
- public function __construct($url, phpbb_filesystem $phpbb_filesystem)
+ public function __construct($url, \phpbb\filesystem $phpbb_filesystem)
{
$this->phpbb_filesystem = $phpbb_filesystem;