Trailing slash problem

  • Barry Rowlingson

    I think there's at least one problem with handling missing trailing slashes on directory names in the configuration.

    If you leave the trailing slash of the specification of the $filesBaseDir in the you end up with files wrongly named in the wrong directory!

    If $fileBaseDir is "/web/files" then uploaded files end up as "/web/filesDocument.pdf", since the trailing slash isn't added to the path.

    Fix: either add the trailing slash (here and in other places?) or stick a great big warning in the documentation!


    • Matthias Steffens

      Hi Barry,

      I've added a note for $filesBaseDir in '' (similar as with $filesBaseURL).



Log in to post a comment.