XenForo
Administrative
- Thread starter
- Admin
- #1
If the path to the temporary directory does contain a symlink somewhere, copying files from a style archive does fail due to
PHP:
As
Suggested Solution
Call
Read more
ادامه مطلب...
PHP:
Code:
$stdPath = File::stripRootPathPrefix($pathname, $tempDir);
if (!$this->isWithinAssetPath($stdPath, $assetPaths))
{
continue;
}
$tempDir
does not contain the realpath, calling stripRootPathPrefix
does nothing and thus isWithinAssetPath
returns false which skips the file.Suggested Solution
Call
realpath
before returing...Read more
ادامه مطلب...