bernd commited on 2008-02-12 00:40:52
Zeige 1 geänderte Dateien mit 4 Einfügungen und 0 Löschungen.
git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@947 87cf0b9e-d624-0410-a070-f6ee81989793
| ... | ... |
@@ -201,6 +201,10 @@ function save_vhost($vhost) |
| 201 | 201 |
$ssl = maybe_null($vhost['ssl']); |
| 202 | 202 |
$logtype = maybe_null($vhost['logtype']); |
| 203 | 203 |
$errorlog = (int) $vhost['errorlog']; |
| 204 |
+ if (is_svn) {
|
|
| 205 |
+ if (! $vhost['options']) $vhost['options']='nodocroot'; |
|
| 206 |
+ else $vhost['options']+=",nodocroot"; |
|
| 207 |
+ } |
|
| 204 | 208 |
$options = mysql_real_escape_string( $vhost['options'] ); |
| 205 | 209 |
|
| 206 | 210 |
if ($id != 0) {
|
| 207 | 211 |