Ticket #1231 (closed defect: invalid)
Extended File Manager Bug?
| Reported by: | guest | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.96 |
| Component: | Plugins | Version: | trunk |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by gogo) (diff)
I set up EFM and edited the config file to suit. The important lines in this case are:
$IMConfig['base_dir'] = getcwd(); $IMConfig['base_url'] = ''; /* File system path to the directory you want to manage the images for multiple user systems, set it dynamically. */ $IMConfig['images_dir'] = '/var/www/html/images/';
Looks fine to me. However when I open the Image Manager I get "Invalid base directory: /var/www/html/images/". On examination of the HTML source of the image manager I find
<script type="text/javascript">
/* <![CDATA[ */
if(window.opener)
Xinha = window.opener.Xinha;
var thumbdir = "thumbnails";
var base_url = "/test_zone/xinha/plugins/ExtendedFileManager//var/www/html/images/";
*rest edited out *
</script>
]}}
It looks like base_url is base_dir and images_dir welded together!
Is this a known issue? I couldn't find anything in the forum archive. Is there a recommended work around?
Change History
Note: See
TracTickets for help on using
tickets.
