Skip to content

Commit

Permalink
Use config_get_global for language_path
Browse files Browse the repository at this point in the history
Issue #23626
  • Loading branch information
atrol committed Nov 13, 2017
1 parent 2dba158 commit ab10114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lang_api.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function lang_load( $p_lang, $p_dir = null ) {
}

if( $p_dir === null ) {
include_once( config_get( 'language_path' ) . 'strings_' . $p_lang . '.txt' );
include_once( config_get_global( 'language_path' ) . 'strings_' . $p_lang . '.txt' );
} else {
if( is_file( $p_dir . 'strings_' . $p_lang . '.txt' ) ) {
include_once( $p_dir . 'strings_' . $p_lang . '.txt' );
Expand Down

0 comments on commit ab10114

Please sign in to comment.