Changeset 195147
- Timestamp:
- 01/19/2010 12:39:51 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pure-php-localization/trunk/pure-php-localization.php
r194685 r195147 2 2 /* 3 3 Plugin Name: Pure PHP Localization 4 Version: 0. 6-trunk4 Version: 0.5.1-trunk 5 5 Plugin URI: http://uplift.ru/projects/ 6 6 Description: Converts gettext binary message catalogs to an array of strings. Allows to save some amount of RAM on a shared hosting server. … … 9 9 */ 10 10 11 $php_l10n_locale = WPLANG;11 $php_l10n_locale = defined('WPLANG') ? WPLANG : ''; 12 12 $php_l10n_upload_dir = wp_upload_dir(); 13 13 $php_l10n_path = "{$php_l10n_upload_dir['basedir']}/" . dirname(plugin_basename(__FILE__)); … … 19 19 $php_l10n_loaded_domains = array(); 20 20 21 if ( empty($php_l10n_locale) ) 22 return; 23 21 24 function php_l10n_create_array() { 22 25 global $l10n, $php_l10n_path, $php_l10n_filename;
Note: See TracChangeset
for help on using the changeset viewer.