RE: ZPanel 10.1.1 -> Sentora 1.0.3 Windows Version
07-02-2020, 12:03 PM
(This post was last modified: 07-02-2020, 12:06 PM by andykimpe.)
new modification we display the information you provided on the ready page
by cons for the moment I am blocking
the info is well returned and used by the batch file
but not by the php file
and it refuses to display the GLOBAL variable in var_dump
which means that I cannot know exactly how it returns the information to recover it correctly
I still have this problem to solve then I should be able to finish the rest of the installer in what hours it is the update function that will be more complicated to set up
Code:
function UpdateReadyMemo(Space, NewLine, MemoUserInfoInfo, MemoDirInfo, MemoTypeInfo, MemoComponentsInfo, MemoGroupInfo, MemoTasksInfo: String): String;
begin
Result := ''
if MemoUserInfoInfo <> '' then begin
Result := MemoUserInfoInfo + Newline + NewLine;
end;
if MemoDirInfo <> '' then begin
Result := Result + MemoDirInfo + Newline + NewLine;
end;
if MemoTypeInfo <> '' then begin
Result := Result + MemoTypeInfo + Newline + NewLine;
end;
if MemoComponentsInfo <> '' then begin
Result := Result + MemoComponentsInfo + Newline + NewLine;
end;
if MemoGroupInfo <> '' then begin
Result := Result + MemoGroupInfo + Newline + NewLine;
end;
if MemoTasksInfo <> '' then begin
Result := Result + MemoTasksInfo + Newline + NewLine;
end;
Result := Result + 'Your Sentora install Configure:' + NewLine + NewLine;
Result := Result + 'Your Full Name: ' + PageParam.Values[0] + NewLine;
Result := Result + 'Your Email: ' + PageParam.Values[1] + NewLine;
Result := Result + 'Your FQDN: ' + PageParamm.Values[0] + NewLine;
Result := Result + 'Password For Zadmin: ' + PageParamm.Values[1] + NewLine;
end;
by cons for the moment I am blocking
the info is well returned and used by the batch file
but not by the php file
and it refuses to display the GLOBAL variable in var_dump
which means that I cannot know exactly how it returns the information to recover it correctly
I still have this problem to solve then I should be able to finish the rest of the installer in what hours it is the update function that will be more complicated to set up