Skip to content
Snippets Groups Projects
Commit c0cf3c1d authored by Olav Morken's avatar Olav Morken
Browse files

openid: "Fix" deprecation warnings from OpenID library.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3108 44740490-163a-0410-bde0-09ae8108e29a
parent 93aae5a2
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,10 @@
* used is PHP4-compatible, and not PHP5 strict-standards compatible.
*/
SimpleSAML_Utilities::maskErrors(E_STRICT);
if (defined('E_DEPRECATED')) {
/* PHP 5.3 also has E_DEPRECATED. */
SimpleSAML_Utilities::maskErrors(constant('E_DEPRECATED'));
}
/* Add the OpenID library search path. */
set_include_path(get_include_path() . PATH_SEPARATOR . dirname(dirname(dirname(dirname(dirname(dirname(__FILE__)))))) . '/lib');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment