Change require to include so the files are only parsed if the statement is evaluated true.

git-svn-id: http://svn.automattic.com/wordpress/trunk@2395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2005-02-28 17:15:53 +00:00
parent acf8c1c2cc
commit 442e09db17
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
<?php
if ( defined('WPLANG') && '' != constant('WPLANG') ) {
require_once(ABSPATH . 'wp-includes/streams.php');
require_once(ABSPATH . 'wp-includes/gettext.php');
include_once(ABSPATH . 'wp-includes/streams.php');
include_once(ABSPATH . 'wp-includes/gettext.php');
}
function get_locale() {