// Check if our config file is writeable or not
function isIncludeWriteable ($inc) {
// Generate FQFN
- $FQFN = sprintf("%sinc/%s.php", constant('PATH'), $inc);
+ $FQFN = sprintf("%sinc/%s.php", getConfig('PATH'), $inc);
// Abort by simple test
if ((isFileReadable($FQFN)) && (!is_writeable($FQFN))) {
} // END - if
}
+// Load the whole include pool
+function LOAD_INC_POOL () {
+ foreach (GET_INC_POOL() as $inc) {
+ loadIncludeOnce($inc);
+ } // END - foreach
+}
+
// [EOF]
?>