Commit 00cd5482 authored by anarcat's avatar anarcat Committed by anarcat

fix port validation (typo)

parent be00a61f
......@@ -94,7 +94,7 @@ function _provision_apache_delete_vhost_config($url) {
} else {
$options = drush_get_merged_options();
// backward compatibility with 0.3
if (!$options['site_port'] || $options['site_port'] < 1 || $options['site_port'] > 66535) {
if (!$options['site_port'] || $options['site_port'] < 1 || $options['site_port'] > 65536) {
$options['site_port'] = 80;
}
$file = $url . '_' . $options['site_port'];
......
Markdown is supported
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