require the include of the security related scripts in globals.php
authorbradymiller <bradymiller@users.sourceforge.net>
Thu, 14 Feb 2013 22:20:19 +0000 (14 14:20 -0800)
committerbradymiller <bradymiller@users.sourceforge.net>
Thu, 14 Feb 2013 22:20:19 +0000 (14 14:20 -0800)
interface/globals.php

index 7f02798..12a0ff7 100644 (file)
@@ -153,10 +153,10 @@ $GLOBALS['edi_271_file_path'] = $GLOBALS['OE_SITE_DIR'] . "/edi/";
 include_once (dirname(__FILE__) . "/../library/translation.inc.php");
 
 // Include convenience functions with shorter names than "htmlspecialchars"
-include_once (dirname(__FILE__) . "/../library/htmlspecialchars.inc.php");
+require_once (dirname(__FILE__) . "/../library/htmlspecialchars.inc.php");
 
 // Include sanitization/checking function (for security)
-include_once (dirname(__FILE__) . "/../library/sanitize.inc.php");
+require_once (dirname(__FILE__) . "/../library/sanitize.inc.php");
 
 // Includes functions for date internationalization
 include_once (dirname(__FILE__) . "/../library/date_functions.php");