we using many data files that edited(made) outside of EE.
These files type are ELM_CODE(text) or ELM_FILE(binary).
Once file modified, "Reload" operation needed on EE. However this makes mistake.
So, i made reload app. like below.
Code:
FREPA(elms)
{
switch(elms[i].type)
{
...
case Edit.ELM_CODE:
case Edit.ELM_FILE:
EI.reloadElm(elms[i].id);
break;
...
}
But "realoadElm();" always returns TRUE.
in team operation(team environment), "elms[i].src_file" sometimes not present.
Reload path mismatch(absolute(user owned) directory), or commit miss.
However "reloadElm();" cannnot check it.
i should not use "reloadElm();"? and what situation shoud i use?