Ok, thats bad. But we have other possible options
You can try to set the default value in the file /usr/local/ispconfig/interface/web/sites/form/web_domain.tform.php
Code:
'apache_directives' => array (
'datatype' => 'TEXT',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
But If I remeber correctly this will be applied only if you visit the last tab with the apache directives field.
The safest option might be to add some code to /usr/local/ispconfig/interface/web/sites/web_domain_edit.php in the onAfterInsert unction that writes your default value to the database. Example:
Code:
$app->db->query("UPDATE web_domain SET apache_directives = 'Thats my default value' WHERE domain_id = ".$this->id);
Recent comments
13 hours 2 min ago
18 hours 1 min ago
19 hours 27 min ago
20 hours 20 min ago
22 hours 3 min ago
1 day 2 hours ago
1 day 3 hours ago
1 day 5 hours ago
1 day 18 hours ago
1 day 20 hours ago