| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 36 | public static function lost_password_url() |
||
| 37 | { |
||
| 38 | $config = SiteConfig::current_site_config(); |
||
| 39 | $segment = $config->LostPasswordUrl()->URLSegment; |
||
| 40 | if ($segment) { |
||
| 41 | return Controller::join_links(Director::baseURL(), $segment); |
||
| 42 | } |
||
| 43 | return Controller::join_links(Director::baseURL(), self::config()->get('lost_password_url')); |
||
| 44 | } |
||
| 46 |