Ticket #181 (closed defect: wontfix)

Opened 8 years ago

Last modified 8 years ago

ImageManager Plugin update of paths

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

Description

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/config.inc.php

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

Changed 8 years ago by niko

  • status changed from new to closed
  • resolution set to wontfix

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.