|
|
@@ -10,9 +10,9 @@ URL: http://themble.com/bones/
|
|
|
|
|
|
|
|
|
// Adding Translation Option
|
|
|
-load_theme_textdomain( 'bonestheme', TEMPLATEPATH.'/library/translation' );
|
|
|
+load_theme_textdomain( 'bonestheme', get_template_directory() .'/library/translation' );
|
|
|
$locale = get_locale();
|
|
|
- $locale_file = TEMPLATEPATH."/library/translation/$locale.php";
|
|
|
+ $locale_file = get_template_directory() ."/library/translation/$locale.php";
|
|
|
if ( is_readable($locale_file) ) require_once($locale_file);
|
|
|
|
|
|
|