mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-06 07:35:29 +02:00
[ticket/11700] Replace some leftover phpbb_filesystem uses
PHPBB3-11700
This commit is contained in:
parent
1a92c04ee3
commit
1adcbccc09
@ -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
|
// 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);
|
$url = $phpbb_filesystem->update_web_root_path($url);
|
||||||
}
|
}
|
||||||
|
@ -25,7 +25,7 @@ class environment extends \Twig_Environment
|
|||||||
/** @var \phpbb\config\config */
|
/** @var \phpbb\config\config */
|
||||||
protected $phpbb_config;
|
protected $phpbb_config;
|
||||||
|
|
||||||
/** @var phpbb_filesystem */
|
/** @var \phpbb\filesystem */
|
||||||
protected $phpbb_filesystem;
|
protected $phpbb_filesystem;
|
||||||
|
|
||||||
/** @var string */
|
/** @var string */
|
||||||
@ -104,7 +104,7 @@ class environment extends \Twig_Environment
|
|||||||
/**
|
/**
|
||||||
* Get the phpbb_filesystem object
|
* Get the phpbb_filesystem object
|
||||||
*
|
*
|
||||||
* @return phpbb_filesystem
|
* @return \phpbb\filesystem
|
||||||
*/
|
*/
|
||||||
public function get_filesystem()
|
public function get_filesystem()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user