|
@@ 294-295 (lines=2) @@
|
| 291 |
|
|
| 292 |
|
$value = $this->build_url( $url, $options ); |
| 293 |
|
} elseif ( 'force-www' === pods_v( static::$type . '_format', $options ) ) { |
| 294 |
|
if ( false !== strpos( $url['host'], '.' ) && false === strpos( $url['host'], '.', 1 ) ) { |
| 295 |
|
$url['host'] = 'www.' . $url['host']; |
| 296 |
|
} |
| 297 |
|
|
| 298 |
|
$value = $this->build_url( $url, $options ); |
|
@@ 318-319 (lines=2) @@
|
| 315 |
|
$value = trim( $value, '/' ); |
| 316 |
|
} |
| 317 |
|
} elseif ( 'no-http-force-www' === pods_v( static::$type . '_format', $options ) ) { |
| 318 |
|
if ( false !== strpos( $url['host'], '.' ) && false === strpos( $url['host'], '.', 1 ) ) { |
| 319 |
|
$url['host'] = 'www.' . $url['host']; |
| 320 |
|
} |
| 321 |
|
|
| 322 |
|
$value = $this->build_url( $url, $options ); |