aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/includes/functions.php2
-rw-r--r--phpBB/phpbb/template/twig/environment.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 7bdd4d252e..e905375f4a 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -2425,7 +2425,7 @@ function append_sid($url, $params = false, $is_amp = true, $session_id = false)
}
// Update the root path with the correct relative web path
- if ($phpbb_filesystem instanceof phpbb_filesystem)
+ if ($phpbb_filesystem instanceof \phpbb\filesystem)
{
$url = $phpbb_filesystem->update_web_root_path($url);
}
diff --git a/phpBB/phpbb/template/twig/environment.php b/phpBB/phpbb/template/twig/environment.php
index 132dae4762..e0ee23dcd9 100644
--- a/phpBB/phpbb/template/twig/environment.php
+++ b/phpBB/phpbb/template/twig/environment.php
@@ -25,7 +25,7 @@ class environment extends \Twig_Environment
/** @var \phpbb\config\config */
protected $phpbb_config;
- /** @var phpbb_filesystem */
+ /** @var \phpbb\filesystem */
protected $phpbb_filesystem;
/** @var string */
@@ -104,7 +104,7 @@ class environment extends \Twig_Environment
/**
* Get the phpbb_filesystem object
*
- * @return phpbb_filesystem
+ * @return \phpbb\filesystem
*/
public function get_filesystem()
{