I am trying to configure kcfinder to use a custom folder. The folder is being created when first accessed and also the sub-folder called images within that folder.
However, when uploading an image it is ignoring that structure and instead creates another folder above it, where it then uploads the image. This then results in an invalid url for the location of the image.
My config.php has been changed to include the following lines: -
I tried having just the uploadDir as an empty string ... does not work.
I tried specifying the full website url rather than the local structure ... does not work.
Hi,
I am trying to configure kcfinder to use a custom folder. The folder is being created when first accessed and also the sub-folder called images within that folder.
However, when uploading an image it is ignoring that structure and instead creates another folder above it, where it then uploads the image. This then results in an invalid url for the location of the image.
My config.php has been changed to include the following lines: -
I tried having just the uploadDir as an empty string ... does not work. I tried specifying the full website url rather than the local structure ... does not work.
Please advise me on what is wrong.