Last modified: 2006-10-09 20:06:36 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T9537, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 7537 - $wgFileBlacklist should include php5
$wgFileBlacklist should include php5
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-10-09 19:29 UTC by Manuel Beetz
Modified: 2006-10-09 20:06 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Manuel Beetz 2006-10-09 19:29:59 UTC
The Array $wgFileBlacklist in DefaultSettings.php should contains the extension
"php5". Some Hosters e.g. 1und1.com use this extension for scripts using PHP5.
Comment 1 Manuel Beetz 2006-10-09 19:52:28 UTC
The following line in LocalSettings.php can fix it as workaround:

$wgFileBlacklist[count($wgFileBlacklist)] = "php5";
Comment 2 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-10-09 20:00:45 UTC
Or just

$wgFileBlacklist[] = "php5";

The patch for this is so trivial I'm going to mark this as patch reviewed,
because it may as well be.
Comment 3 Jimmy Collins 2006-10-09 20:03:54 UTC
Added in r16899.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links