Feature #536: Use complete domain name as default path for DocumentRoot

This commit is contained in:
Sorin Pohontu (frontline)
2013-03-20 21:37:37 +02:00
parent 236ba6abfb
commit faada48e38
8 changed files with 83 additions and 8 deletions

View File

@@ -471,4 +471,17 @@ LoadModule authz_host_module modules/mod_authz_host.so</pre><br />';
}
}
if(versionInUpdate($current_version, '0.9.28-rc2'))
{
$has_preconfig = true;
$description = 'This version will add an option to set default path for all domains and subdomains, to be the full subdomain or domain name.<br />';
$description .= 'You can enable or disable this feature anytime from Server -> Settings -> System settings.<br />';
$question .= '<strong>Do you want to Use domain name as default value for DocumentRoot path?:</strong>&nbsp;';
$question.= makeyesno('update_system_documentroot_use_default_value', '1', '0', '1');
eval("\$return.=\"" . getTemplate("update/preconfigitem") . "\";");
}
}