Thread:Extension talk:MsUpload/Looking for stuff in /extensions/MsUpload whereas MsUpload is installed in another directory

Hi, we install added extensions in a separate directory under extensions, so our require_once-line looks like: require_once("$IP/extensions/added/MsUpload/msupload.php");

Unfortunately error_log throws an error-message every time a user edits a page, although the extension is working properly:

[Fri Nov 28 13:46:07 2014] [error] [client 161.90.81.155] File does not exist: /var/www/html/mediawiki/extensions/MsUpload, referer: http://yyyyyyy/index.php?title=ATitle&action=edit&section=6

Thought I solved it by editing msupload.php and modifying line 71 to:

$path = $wgScriptPath.'/extensions/added/MsUpload';

but that doesn't solve it either. The only way to get rid of the error-messages is to copy the extension one directory up.

Can you make the correct modification? Thanx in advance.

We use Mediawiki 1.23.7 (latest)