IP-адрес админа изменившего параметр
typename set<PROPERTY_NOTIFIER_BASE<varT> *>::iterator ni;
typename set<PROPERTY_NOTIFIER_BASE<varT> *>::iterator ni;
-//printf("USER_PROPERTY<varT>::operator= (const varT& rhs)\n");
-
varT oldVal = value;
ni = beforeNotifiers.begin();
varT oldVal = value;
ni = beforeNotifiers.begin();
newValue.c_str(),
msg.c_str());
newValue.c_str(),
msg.c_str());
-
-/*char userLogMsg[2048];
-sprintf(userLogMsg, "\'%s\' parameter changed from \'%s\' to \'%s\'. %s",
- parameter.c_str(), oldValue.c_str(),
- newValue.c_str(), msg.c_str());*/
store->WriteUserChgLog(login, admin.GetLogin(), admin.GetAdminIP(), parameter, oldValue, newValue, msg);
store->WriteUserChgLog(login, admin.GetLogin(), admin.GetAdminIP(), parameter, oldValue, newValue, msg);
-//store->WriteLogString(userLogMsg, login);
}
//-------------------------------------------------------------------------
template <typename varT>
}
//-------------------------------------------------------------------------
template <typename varT>
const string & paramName,
const string & oldValue,
const string & newValue,
const string & paramName,
const string & oldValue,
const string & newValue,
if (access(str1.c_str(), X_OK) == 0)
{
if (access(str1.c_str(), X_OK) == 0)
{
- string str2("\"" + str1 + "\" \"" + login + "\" \"" + paramName + "\" \"" + oldValue + "\" \"" + newValue + "\"");
+ string str2("\"" + str1 + "\" \"" + login + "\" \"" + paramName + "\" \"" + oldValue + "\" \"" + newValue + "\" \"" + admin.GetLogin() + "\" \"" + admin.GetAdminIPStr() + "\"");