<?php error_reporting(E_ALL); include_once "/etc/sentora/panel/modules/server/panel.exec_command.php" ; function panel_sub_domain_create ($un, $pwd, $dom, $subdom) { return panel_exec_command ("subdomain.create " . $un . " " . $pwd . " " . $dom . " " . $subdom) ; } function panel_sub_domain_delete ($un, $pwd, $dom, $subdom) { return panel_exec_command ("subdomain.delete" . $un . " " . $pwd . " " . $dom . " " . $subdom) ; } ?>