« Previous | Next » 

Revision 32b27dae


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

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

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

Change-Id: I9c7ae78b800cf17649c9ccaacb1149ae95994ee9

  • added
  • modified
  • copied
  • renamed
  • deleted