X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/90e389f6ec12e60a62c362296ffcf314feb5b03d..ca6e4bad852f8eb986cf38eef3a3f2366134e45d:/include/stg/user_property.h?ds=sidebyside diff --git a/include/stg/user_property.h b/include/stg/user_property.h index 8b934167..ade21f4e 100644 --- a/include/stg/user_property.h +++ b/include/stg/user_property.h @@ -20,7 +20,7 @@ $Author: faust $ #include "notifer.h" #include "logger.h" #include "locker.h" -#include "script_executer.h" +#include "scriptexecuter.h" #include "noncopyable.h" extern const volatile time_t stgTime; @@ -363,7 +363,7 @@ std::string filePath = scriptsDir + "/OnChange"; if (access(filePath.c_str(), X_OK) == 0) { std::string execString("\"" + filePath + "\" \"" + login + "\" \"" + paramName + "\" \"" + oldValue + "\" \"" + newValue + "\" \"" + admin->GetLogin() + "\" \"" + admin->GetIPStr() + "\""); - ScriptExec(execString); + ScriptExec(execString.c_str()); } else {