Index: trunk/tools/ToolserverI18N/TsIntuition.php |
— | — | @@ -658,13 +658,10 @@ |
659 | 659 | } |
660 | 660 | |
661 | 661 | // Was there a url defined in the textdomain file ? |
662 | | - if ( !isset( $data['url'] ) ) { |
663 | | - $url = null; |
664 | | - } else { |
665 | | - $url = "http://toolserver.org/{$data['url']}"; |
666 | | - } |
| 662 | + $fullurl = isset( $data['url'] ) ? "http://toolserver.org/{$data['url']}" : null; |
| 663 | + $path = isset( $data['url'] ) ? $data['url'] : null; |
667 | 664 | |
668 | | - $this->loadedTextdomains[$domain] = array( 'url' => $url ); |
| 665 | + $this->loadedTextdomains[$domain] = array( 'url' => $fullurl, 'path' => $path ); |
669 | 666 | |
670 | 667 | |
671 | 668 | return true; |