added a missing 'enter' to a message
Esse commit está contido em:
Arquivo executável → Arquivo normal
+1
@@ -32,3 +32,4 @@ mind3rd/API/logs/*
|
||||
.project
|
||||
nbproject
|
||||
nbproject/*
|
||||
/.settings/
|
||||
@@ -38,7 +38,7 @@ class MindLog {
|
||||
case self::LOG_TYPE_USER:{
|
||||
if(strtolower($_MIND->conf['log_user_interaction'])){
|
||||
if(!@file_put_contents(_MINDSRC_.\LOGS_DIR.'user.log', $msg."\n", FILE_APPEND)){
|
||||
echo "ERROR: failed trying to create log! please, check the writting permissions for "._MINDSRC_.\LOGS_DIR."!";
|
||||
echo "ERROR: failed trying to create log! please, check the writting permissions for "._MINDSRC_.\LOGS_DIR."!\n";
|
||||
}
|
||||
}
|
||||
break;
|
||||
@@ -46,14 +46,14 @@ class MindLog {
|
||||
case self::LOG_TYPE_PROJECT:{
|
||||
if(strtolower($_MIND->conf['log_project_interaction'])){
|
||||
if(@file_put_contents(_MINDSRC_.\LOGS_DIR.'project.log', $msg."\n", FILE_APPEND)){
|
||||
echo "ERROR: failed trying to create log! please, check the writting permissions for "._MINDSRC_.\LOGS_DIR."!";
|
||||
echo "ERROR: failed trying to create log! please, check the writting permissions for "._MINDSRC_.\LOGS_DIR."!\n";
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
default:{
|
||||
if(!@file_put_contents(_MINDSRC_.\LOGS_DIR.'sys.log', $msg."\n", FILE_APPEND)){
|
||||
echo "ERROR: failed trying to create log! please, check the writting permissions for "._MINDSRC_.\LOGS_DIR."!";
|
||||
echo "ERROR: failed trying to create log! please, check the writting permissions for "._MINDSRC_.\LOGS_DIR."!\n";
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário