Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
GIP RENATER
switch-wayf
Commits
17ef5c3e
Commit
17ef5c3e
authored
Sep 26, 2013
by
haemmer
Browse files
Fixed variable scope problem
parent
f0b6fa59
Changes
1
Hide whitespace changes
Inline
Side-by-side
functions.php
View file @
17ef5c3e
...
...
@@ -758,6 +758,7 @@ function logAccessEntry($protocol, $type, $sp, $idp, $return){
/******************************************************************************/
// Logs an info message
function
logInfo
(
$errorMsg
){
global
$developmentMode
;
syslog
(
LOG_INFO
,
$errorMsg
);
if
(
$developmentMode
){
...
...
@@ -768,6 +769,7 @@ function logInfo($errorMsg){
/******************************************************************************/
// Logs an warnimg message
function
logWarning
(
$errorMsg
){
global
$developmentMode
;
syslog
(
LOG_WARNING
,
$errorMsg
);
if
(
$developmentMode
){
...
...
@@ -778,6 +780,7 @@ function logWarning($errorMsg){
/******************************************************************************/
// Logs an error message
function
logError
(
$errorMsg
){
global
$developmentMode
;
syslog
(
LOG_ERR
,
$errorMsg
);
if
(
$developmentMode
){
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment