Hello,
I've recently found these forums and sentora after looking for a new control panel, I've installed the beta and installed csf firewall on top. Everythings good, but curiosity has got the better of me and i've jumped straight into module developmement. Could anyone help me with reading files ?
This line :
$out = ctrl_system:: systemCommand('zsudo', fs_filehandler::ReadFileContents("/etc/csf/version.txt"));
It returns 0 for success rather than the contents of the file, can anyone give some clues where i'm going wrong ?
Thanks
Paul
I've recently found these forums and sentora after looking for a new control panel, I've installed the beta and installed csf firewall on top. Everythings good, but curiosity has got the better of me and i've jumped straight into module developmement. Could anyone help me with reading files ?
This line :
$out = ctrl_system:: systemCommand('zsudo', fs_filehandler::ReadFileContents("/etc/csf/version.txt"));
It returns 0 for success rather than the contents of the file, can anyone give some clues where i'm going wrong ?
Thanks
Paul