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: wikibugs-l@lists.wikimedia.org
          Reporter: bawolff...@gmail.com
                CC: alolita.sha...@gmail.com, asha...@wikimedia.org,
                    da...@sheetmusic.org.uk, kartik.mis...@gmail.com,
                    niklas.laxst...@gmail.com, run...@gmail.com,
                    siebr...@wikimedia.org, sucheta.ghos...@gmail.com
    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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to