zsudo returning strings ?
#1
zsudo returning strings ?
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


Messages In This Thread
zsudo returning strings ? - by PaulDawson - 11-09-2014, 01:50 AM
RE: zsudo returning strings ? - by Me.B - 11-09-2014, 05:12 AM
RE: zsudo returning strings ? - by 5050 - 11-12-2014, 10:21 PM
RE: zsudo returning strings ? - by PaulDawson - 11-13-2014, 08:54 PM
RE: zsudo returning strings ? - by Me.B - 11-14-2014, 12:15 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)