(02-21-2016, 08:16 AM)Castey Wrote: Better way is check username and group by
It should work well when script is running in web browser, but it need to be tested. Hardcoded username/group isn't good option, someone could change user and/or group in his apache config.Code:system('whoami');
system('groups');
Thanks for the input, checking it out.
But, if somebody changes username/group, then they are not using a default install of Sentora which we do not support.