Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
disabling custom apache (or some function) for non-admins Q&A
#1
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

Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)

Online Shopping App
Online Shopping - E-Commerce Platform
Online Shopping - E-Commerce Platform
Feinunze Schmuck Jewelery Online Shopping