vonloxley / Shariff-Mediawiki

A mediawiki-extension for Shariff, protecting users privacy.
4 stars 4 forks source link

Hard-coded extension location on disk #15

Open hexmode opened 2 years ago

hexmode commented 2 years ago

This showed up on minimized console. It is because the directory name "Shariff" is hard coded in instead of using the directory where I actually installed it.

<br />
<b>Warning</b>:  md5_file(/var/www/html/w/extensions/Shariff/shariff.min.js): failed to open stream: No such file or directory in <b>/var/www/html/w/includes/OutputPage.php</b> on line <b>3993</b><br />
<br />
<b>Warning</b>:  OutputPage::transformFilePath: Failed to hash /var/www/html/w/extensions/Shariff/shariff.min.js [Called from OutputPage::transformFilePath in /var/www/html/w/includes/OutputPage.php at line 3995] in <b>/var/www/html/w/includes/debug/MWDebug.php</b> on line <b>430</b><br />
<br />
<b>Warning</b>:  md5_file(/var/www/html/w/extensions/Shariff/shariff.min.css): failed to open stream: No such file or directory in <b>/var/www/html/w/includes/OutputPage.php</b> on line <b>3993</b><br />
<br />
<b>Warning</b>:  OutputPage::transformFilePath: Failed to hash /var/www/html/w/extensions/Shariff/shariff.min.css [Called from OutputPage::transformFilePath in /var/www/html/w/includes/OutputPage.php at line 3995] in <b>/var/www/html/w/includes/debug/MWDebug.php</b> on line <b>430</b><br />
load.php:12:48