function policyd_weight_reconfigure() { $pol = new policydweight(); $conf = $pol->buildConf(); @file_put_contents("/etc/artica-postfix/settings/Daemons/PolicydWeightConfig", $conf); echo "Starting......: policyd-weight building first config done\n"; }