]> git.mxchange.org Git - mailer.git/commitdiff
Use 'in_loaded' instead of 'load_once'
authorRoland Häder <roland@mxchange.org>
Thu, 10 Jan 2013 04:41:58 +0000 (04:41 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 10 Jan 2013 04:41:58 +0000 (04:41 +0000)
inc/inc-functions.php

index e65057863644444865c1357a5414347077002576..aded9e43ae39b2246af638252284f729908d6f7d 100644 (file)
@@ -136,10 +136,7 @@ function loadInclude ($inc) {
 // Loads an include file once
 function loadIncludeOnce ($inc) {
        // Is it not loaded?
-       if (!isset($GLOBALS['load_once'][$inc])) {
-               // Mark it as loaded
-               $GLOBALS['load_once'][$inc] = 'loaded';
-
+       if (!isset($GLOBALS['inc_loaded'][$inc])) {
                // Then try to load it
                loadInclude($inc);
        } // END - if