Control config token via custom scripts?

as247

Verified User
Joined
Nov 25, 2017
Messages
22
I'm trying to extend directadmin by using custom scripts and modified skin.
In PHP configuration (/CMD_PHP_SAFE_MODE) i'm trying to adding option to toggle php secure(disable_functions)
I see toggle open base dir option will try to rebuild php-fpm.conf from template with OPEN_BASEDIR token to test |*if OPEN_BASEDIR="ON"|
I want to add something like PHP_SECURE, which can set to on/off based on custom scripts (all_pre.sh)
But i'm not sure if it is able to add more token with all_pre.sh then we can use that variable/token to check in config template.

Thanks
 
Back
Top