Skip to content

Commit f25b9e2

Browse files
committed
1 parent 4a4d481 commit f25b9e2

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

interface/web/sites/form/web_domain.tform.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,6 @@
318318
##################################
319319
# Begin Datatable fields
320320
##################################
321-
/*
322321
'document_root' => array (
323322
'datatype' => 'VARCHAR',
324323
'formtype' => 'TEXT',
@@ -352,7 +351,6 @@
352351
'width' => '30',
353352
'maxlength' => '255'
354353
),
355-
*/
356354
'apache_directives' => array (
357355
'datatype' => 'TEXT',
358356
'formtype' => 'TEXT',

interface/web/sites/templates/web_domain_advanced.htm

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<table width="500" border="0" cellspacing="0" cellpadding="2">
2-
<!--
32
<tr>
43
<td class="frmText11">{tmpl_var name='document_root_txt'}:</td>
54
<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 @@
1211
<td class="frmText11">{tmpl_var name='system_group_txt'}:</td>
1312
<td class="frmText11"><input name="system_group" type="text" class="text" value="{tmpl_var name='system_group'}" size="30" maxlength="255"></td>
1413
</tr>
15-
-->
1614
<tr>
1715
<td class="frmText11">{tmpl_var name='apache_directives_txt'}:</td>
1816
<td class="frmText11"><textarea name="apache_directives" class="text" rows="10" cols="30">{tmpl_var name='apache_directives'}</textarea></td>

interface/web/sites/web_domain_edit.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,13 +273,15 @@ function onAfterUpdate() {
273273
$client_id = intval($client["client_id"]);
274274
}
275275

276+
/*
276277
// Set the values for document_root, system_user and system_group
277278
$system_user = 'web'.$this->id;
278279
$system_group = 'client'.$client_id;
279280
$document_root = str_replace("[client_id]",$client_id,$document_root);
280281
281282
$sql = "UPDATE web_domain SET system_user = '$system_user', system_group = '$system_group', document_root = '$document_root' WHERE domain_id = ".$this->id;
282283
$app->db->query($sql);
284+
*/
283285

284286
}
285287

0 commit comments

Comments
 (0)