mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +02:00
[ticket/15392] Resolve incorrect replacements after code review
PHPBB3-15392
This commit is contained in:
2
Vagrantfile
vendored
2
Vagrantfile
vendored
@@ -2,7 +2,7 @@ require 'json'
|
|||||||
require 'yaml'
|
require 'yaml'
|
||||||
|
|
||||||
VAGRANTFILE_API_VERSION ||= "2"
|
VAGRANTFILE_API_VERSION ||= "2"
|
||||||
confDir = $confDir ||= File.expand_path("phpBB/vendor/laravel/homestead", File.__DIR__)
|
confDir = $confDir ||= File.expand_path("phpBB/vendor/laravel/homestead", File.dirname(__FILE__))
|
||||||
|
|
||||||
homesteadYamlPath = "vagrant/bootstrap.yaml"
|
homesteadYamlPath = "vagrant/bootstrap.yaml"
|
||||||
afterScriptPath = "vagrant/after.sh"
|
afterScriptPath = "vagrant/after.sh"
|
||||||
|
@@ -3240,12 +3240,12 @@ function phpbb_filter_root_path($errfile)
|
|||||||
{
|
{
|
||||||
if ($phpbb_filesystem)
|
if ($phpbb_filesystem)
|
||||||
{
|
{
|
||||||
$root_path = $phpbb_filesystem-> realpath(__DIR__ . '/../');
|
$root_path = $phpbb_filesystem->realpath(__DIR__ . '/../');
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$filesystem = new \phpbb\filesystem\filesystem();
|
$filesystem = new \phpbb\filesystem\filesystem();
|
||||||
$root_path = $filesystem-> realpath(__DIR__ . '/../');
|
$root_path = $filesystem->realpath(__DIR__ . '/../');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user