mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/15392] Resolve incorrect replacements after code review
PHPBB3-15392
This commit is contained in:
parent
f3d3b493f7
commit
20d4a86016
2 changed files with 3 additions and 3 deletions
2
Vagrantfile
vendored
2
Vagrantfile
vendored
|
@ -2,7 +2,7 @@ require 'json'
|
|||
require 'yaml'
|
||||
|
||||
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"
|
||||
afterScriptPath = "vagrant/after.sh"
|
||||
|
|
|
@ -3240,12 +3240,12 @@ function phpbb_filter_root_path($errfile)
|
|||
{
|
||||
if ($phpbb_filesystem)
|
||||
{
|
||||
$root_path = $phpbb_filesystem-> realpath(__DIR__ . '/../');
|
||||
$root_path = $phpbb_filesystem->realpath(__DIR__ . '/../');
|
||||
}
|
||||
else
|
||||
{
|
||||
$filesystem = new \phpbb\filesystem\filesystem();
|
||||
$root_path = $filesystem-> realpath(__DIR__ . '/../');
|
||||
$root_path = $filesystem->realpath(__DIR__ . '/../');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue