https://bugzilla.wikimedia.org/show_bug.cgi?id=60658
Web browser: ---
Bug ID: 60658
Summary: LocalisationCache::readPHPFile should suppress
warnings around ini_set
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Keywords: easy
Severity: normal
Priority: Unprioritized
Component: Internationalization
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
Some people have ini_set disabled, which sucks but we can't do anything about
it. Having the ini_set call fail for disabling apc isn't that big a deal, so we
should probably just hide the warning.
So need to put wfSuppressWarnings() before the ini_set call, and
wfRestoreWarnings() after the ini_set call in LocalisationCache::readPHPFile
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l