~mahara-release/mahara/1.7_STABLE

Viewing all changes in revision 5893.

  • Committer: Aaron Wells
  • Date: 2014-07-04 00:12:47 UTC
  • Revision ID: git-v1:c418557b689858a97834fcbf322b59c5dbb9a411
Silence most E_STRICT errors

Bug 1268746: In PHP 5.4 E_ALL changed to include E_STRICT, causing Mahara to throw
a lot of strict standards errors. This should silence most of them.

HOWEVER, because most strict standards happen at compile-time, this will have no
effect on strict standards errors caused in the files that have already been
loaded by the time we call error_reporting() and set_error_handler(), which includes:
 - The file invoked directly by the URL
 - init.php
 - errors.php
 - config.php
 - config-defaults.php

Change-Id: I7a7fdf7facb1f30e186a0e8a27f1c3b7473200da

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: