* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009 - 2012 by Mailer Developer Team *
+ * Copyright (c) 2009 - 2013 by Mailer Developer Team *
* For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
$key = array_search($inc, getIncludePool($pool));
// Is it valid?
- if ($key !== false) {
+ if ($key !== FALSE) {
// Then remove it
unset($GLOBALS['inc_pool'][$pool][$key]);
// 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