This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

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
Reply
Thanks given by:


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)