Browse Source

SM_PATH fix

indiri69 23 years ago
parent
commit
0f3a2014b7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      functions/i18n.php

+ 2 - 2
functions/i18n.php

@@ -1038,7 +1038,7 @@ if ($gettext_flags == 7) {
 /* If we can fake gettext, try that */
 /* If we can fake gettext, try that */
 elseif ($gettext_flags == 0) {
 elseif ($gettext_flags == 0) {
     $use_gettext = true;
     $use_gettext = true;
-    include_once('../functions/gettext.php');
+    include_once(SM_PATH . 'functions/gettext.php');
 } else {
 } else {
     /* Uh-ho.  A weird install */
     /* Uh-ho.  A weird install */
     if (! $gettext_flags & 1) {
     if (! $gettext_flags & 1) {
@@ -1166,4 +1166,4 @@ function korean_charset_xtra() {
     return $ret;
     return $ret;
 }
 }
 
 
-?>
+?>