} // END - if
// Construct FQFN for extension file
- $extInclude = sprintf("inc/extensions/ext-%s.php", $ext_name);
+ $FQFN = sprintf("%sinc/extensions/ext-%s.php",
+ constant('PATH'),
+ $ext_name
+ );
// Is the extension file NOT there?
if (!FILE_READABLE($extInclude)) {
// Include the extension file
//* DEBUG: */ DEBUG_LOG(__FUNCTION__, __LINE__, "Extension loaded.");
- LOAD_INC($extInclude);
+ require($extInclude);
// Is this extension deprecated?
if ($EXT_DEPRECATED == "Y") {