Ver Fonte

Add explicit include of global.php

Erin Schnabel há 22 anos atrás
pai
commit
676925ddd6
3 ficheiros alterados com 5 adições e 1 exclusões
  1. 2 0
      functions/attachment_common.php
  2. 1 1
      functions/i18n.php
  3. 2 0
      functions/plugin.php

+ 2 - 0
functions/attachment_common.php

@@ -11,6 +11,8 @@
  * $Id$
  */
 
+require_once(SM_PATH . 'functions/global.php');
+
 global $attachment_common_show_images_list;
 $attachment_common_show_images_list = array();
 

+ 1 - 1
functions/i18n.php

@@ -555,7 +555,7 @@ function charset_decode_iso_8859_7 ($string) {
 }
 
 /*
- ISOIEC 8859-9:1999 Latin Alphabet No. 5require_once(SM_PATH . 'functions/global.php');
+ ISOIEC 8859-9:1999 Latin Alphabet No. 5
 
 */
 function charset_decode_iso_8859_9 ($string) {

+ 2 - 0
functions/plugin.php

@@ -13,6 +13,8 @@
  * $Id$
  */
 
+require_once(SM_PATH . 'functions/global.php');
+
 global $squirrelmail_plugin_hooks;
 $squirrelmail_plugin_hooks = array();