Commit f25b9e27 authored by tbrehm's avatar tbrehm
Browse files

No commit message

No commit message
parent 4a4d4810
......@@ -318,7 +318,6 @@ $form["tabs"]['advanced'] = array (
##################################
# Begin Datatable fields
##################################
/*
'document_root' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
......@@ -352,7 +351,6 @@ $form["tabs"]['advanced'] = array (
'width' => '30',
'maxlength' => '255'
),
*/
'apache_directives' => array (
'datatype' => 'TEXT',
'formtype' => 'TEXT',
......
<table width="500" border="0" cellspacing="0" cellpadding="2">
<!--
<tr>
<td class="frmText11">{tmpl_var name='document_root_txt'}:</td>
<td class="frmText11"><input name="document_root" type="text" class="text" value="{tmpl_var name='document_root'}" size="30" maxlength="255"></td>
......@@ -12,7 +11,6 @@
<td class="frmText11">{tmpl_var name='system_group_txt'}:</td>
<td class="frmText11"><input name="system_group" type="text" class="text" value="{tmpl_var name='system_group'}" size="30" maxlength="255"></td>
</tr>
-->
<tr>
<td class="frmText11">{tmpl_var name='apache_directives_txt'}:</td>
<td class="frmText11"><textarea name="apache_directives" class="text" rows="10" cols="30">{tmpl_var name='apache_directives'}</textarea></td>
......
......@@ -273,6 +273,7 @@ class page_action extends tform_actions {
$client_id = intval($client["client_id"]);
}
/*
// Set the values for document_root, system_user and system_group
$system_user = 'web'.$this->id;
$system_group = 'client'.$client_id;
......@@ -280,6 +281,7 @@ class page_action extends tform_actions {
$sql = "UPDATE web_domain SET system_user = '$system_user', system_group = '$system_group', document_root = '$document_root' WHERE domain_id = ".$this->id;
$app->db->query($sql);
*/
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment