Opened 16 years ago

Closed 16 years ago

#181 closed defect (wontfix)

ImageManager Plugin update of paths

Reported by: foyleman@… Owned by: gogo
Priority: low Milestone:
Component: Xinha Core Version:
Severity: normal Keywords: Plugin - ImageManager


I don't know who is going to use the plugin's directory as the image path.
Instead, the path used should be the root of the website.
Common installation is: SITE_URL\xinha\plugins\ImageManager?

So edit root/trunk/plugins/ImageManager/

Line 59:
$IMConfigimages_dir? = "../../../"; back to root of website

Line 77: (uncomment)
$IMConfigimages_url? = ""; don't add anything to the url of the image

Line 82: Comment out

Change History (1)

comment:1 Changed 16 years ago by niko

  • Resolution set to wontfix
  • Status changed from new to closed

The config is ment to be changed for the needs of the enduser.

the current configuration provides a simple configuration that _should_ run without any change.

using ../../../ as images_dir would be a big security-issue - some might not change the default-config so everybody has write-access to the website-root.
the current default-setting gives just write-access to a subfolder in the imageManager-plugin - which can't hurt anybody.

Note: See TracTickets for help on using tickets.