aldrinbaroi / mediawiki-page-attachment

Automatically exported from code.google.com/p/mediawiki-page-attachment
Other
1 stars 1 forks source link

Doesn't work when directory name is different #79

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Name your PageAttachment directory PageAttachment-custommod

What is the expected output? What do you see instead?
I would like to have everything working, but no attachments
are shown.

What version of the product are you using? On what operating system?

  PageAttachment version  : 3.1.0
  MediaWiki version       : 1.21.2
  PHP version             : 5.5.3
  Database name           : MariaDB
  Database version        : 5.5
  Operating System name   : Windows
  Operating System version: Server 2008

Please provide any additional information below.

I have modified following files
ui/command.php
and
ui/resource.php

they both load the files directly from
/extensions/PageAttachment/...

Paths should be relative to the PageAttachment "root" directory.

Original issue reported on code.google.com by marc.fau...@gmail.com on 4 Oct 2013 at 12:16

GoogleCodeExporter commented 9 years ago
Yes, it is not working because there is one (1) or two (2) hard coded directory 
reference.  I have been careful to not hard code anything but it looks like I 
missed one (1) to two (2).  I'll update the code to remove those.

Google Code is shuting down and so I'll make the changes after moving the code 
to Github and after publishing the pending release that was prepared but did 
not have time create and publish the downloads.

Original comment by Aldrin.Baroi@gmail.com on 26 Mar 2015 at 7:06