« Previous | Next » 

Revision 32b27dae

ID32b27daef7c7d4c47ad64d3fb381f273744c7689

Added by Bastian Waidelich almost 11 years ago

[+BUGFIX] FLOW3 (Resource): Normalize paths in publishStaticResources()

On Windows, all public resources are deleted if mirrorMode is set to
"link".

This happens due to the check readlink($targetPath)) === $sourcePath)
always returning FALSE on Windows beacuse readlink() returns paths with
backslashes.

This is fixed by calling \F3\FLOW3\Utility\Files::getUnixStylePath() on
the paths first.

Change-Id: I9c7ae78b800cf17649c9ccaacb1149ae95994ee9

  • added
  • modified
  • copied
  • renamed
  • deleted