|
@ -202,7 +202,7 @@ class NginxVhostsCommand extends Command |
|
|
// add directory for validator to check if file exits
|
|
|
// add directory for validator to check if file exits
|
|
|
$data['index'] = $data['root'].'/'.$data['index']; |
|
|
$data['index'] = $data['root'].'/'.$data['index']; |
|
|
|
|
|
|
|
|
$validator = v::key('domain', v::domain()) |
|
|
|
|
|
|
|
|
$validator = v::key('domain', v::domain(false)) |
|
|
->key('root', v::directory()) |
|
|
->key('root', v::directory()) |
|
|
->key('index', v::file()); |
|
|
->key('index', v::file()); |
|
|
|
|
|
|
|
|