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

It turns out that constant('CONSTANT_NAME') emits an warning. Change the test...

It turns out that constant('CONSTANT_NAME') emits an warning. Change the test to use defined('CONSTANT_NAME') instead.


git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@720 44740490-163a-0410-bde0-09ae8108e29a
parent b5db9e40
No related branches found
No related tags found
No related merge requests found
...@@ -102,7 +102,7 @@ $config = array ( ...@@ -102,7 +102,7 @@ $config = array (
* *
* The default is to use LOG_LOCAL5 if available, and fall back to LOG_USER if not. * The default is to use LOG_LOCAL5 if available, and fall back to LOG_USER if not.
*/ */
'logging.facility' => (constant('LOG_LOCAL5') !== NULL) ? constant('LOG_LOCAL5') : LOG_USER, 'logging.facility' => defined('LOG_LOCAL5') ? constant('LOG_LOCAL5') : LOG_USER,
/* Logging: file - Logfilename in the loggingdir from above. /* Logging: file - Logfilename in the loggingdir from above.
*/ */
......
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