Changeset 4446
- Timestamp:
- 11/04/2006 05:20:39 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-settings.php
r4345 r4446 83 83 84 84 define('WPINC', 'wp-includes'); 85 if ( !defined('LANGDIR') ) 86 define('LANGDIR', WPINC . '/languages'); // no leading slash, no trailing slash 85 86 if ( !defined('LANGDIR') ) { 87 if ( file_exists(ABSPATH . 'wp-content/languages') && @is_dir(ABSPATH . 'wp-content/languages') ) 88 define('LANGDIR', 'wp-content/languages'); // no leading slash, no trailing slash 89 else 90 define('LANGDIR', WPINC . '/languages'); // no leading slash, no trailing slash 91 } 92 87 93 if ( !defined('PLUGINDIR') ) 88 94 define('PLUGINDIR', 'wp-content/plugins'); // no leading slash, no trailing slash
Note: See TracChangeset
for help on using the changeset viewer.