projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7766950
)
Use 'in_loaded' instead of 'load_once'
author
Roland Häder
<roland@mxchange.org>
Thu, 10 Jan 2013 04:41:58 +0000
(
04:41
+0000)
committer
Roland Häder
<roland@mxchange.org>
Thu, 10 Jan 2013 04:41:58 +0000
(
04:41
+0000)
inc/inc-functions.php
patch
|
blob
|
history
diff --git
a/inc/inc-functions.php
b/inc/inc-functions.php
index e65057863644444865c1357a5414347077002576..aded9e43ae39b2246af638252284f729908d6f7d 100644
(file)
--- a/
inc/inc-functions.php
+++ b/
inc/inc-functions.php
@@
-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