Hey;
In /etc/sentora/panel/modules/apache_admin/hooks/OnDaemonRun.hook.php
On lines 185 and 220
above:
Insert the following:
Now when users exceed quotas, their custom vhost info is retained
In /etc/sentora/panel/modules/apache_admin/hooks/OnDaemonRun.hook.php
On lines 185 and 220
above:
Code:
$line .= "</virtualhost>" . fs_filehandler::NewLine();
Insert the following:
Code:
// Client custom vh entry
$line .= "# Custom VH settings (if any exist)" . fs_filehandler::NewLine();
$line .= $rowvhost['vh_custom_tx'] . fs_filehandler::NewLine();
Now when users exceed quotas, their custom vhost info is retained