Hi all:
I wrote some perl code to force users php options, and want to run it throught a hook.
So far i see in Guide to Standardized Hooks - Script Hooks - Software Development Kit - cPanel Documentation: This hook method is deprecated. To convert script hooks to use the Standardized Hooks system, use System or Whostmgr events in yourHook Action Code.
But, when i set "'escalateprivs'=> 1," on perl Module, it dies with "Module hooks cannot escalate privileges"
Is there any way to do it with perl Modules (recomended option), or should we use deprecated one ?
Thanks in advanced
I wrote some perl code to force users php options, and want to run it throught a hook.
So far i see in Guide to Standardized Hooks - Script Hooks - Software Development Kit - cPanel Documentation: This hook method is deprecated. To convert script hooks to use the Standardized Hooks system, use System or Whostmgr events in yourHook Action Code.
But, when i set "'escalateprivs'=> 1," on perl Module, it dies with "Module hooks cannot escalate privileges"
Is there any way to do it with perl Modules (recomended option), or should we use deprecated one ?
Thanks in advanced