diff --git a/lib/needs.php b/lib/needs.php index 3ef51b8..b5b890c 100644 --- a/lib/needs.php +++ b/lib/needs.php @@ -89,9 +89,10 @@ reqIfNeeded ($libNames); } - // Actual code for the lib + // Actual code for the lib -- only one "$need" allowed from main system if ($need) - need ($need); + addToArray ($need, $needs); + include siteHome . "/lib/$need.php"; unset ($need); } } // !_LIBFUNCS_