disabling custom apache (or some function) for non-admins Q&A

ehcp user: how can I remove some settings from EHCP like modifying Apache http setup file . They are really dangerous for a basic user

me: hmmm.
1m
Sent at 8:23 PM on Tuesday

me: a few ways
1- you may completely disable custom http settings
2- disable them only for non-admins
which one do you prefer ?

ehcp user: 2
Sent at 8:26 PM on Tuesday

ehcp user: How can I do that ?

me: open classapp.php
find function editApacheTemplate(){
at start of that function,
append
$this->requireAdmin();
thats it

Forums: