return false;
} // END - if
- // Construct FQFN for extension file
- $FQFN = sprintf("%sinc/extensions/ext-%s.php",
- constant('PATH'),
- $ext_name
- );
+ // Construct include filename and FQFN for extension file
+ $INC = sprintf("inc/extensions/ext-%s.php", $ext_name);
+ $FQFN = constant('PATH') . $INC;
// Is the extension file NOT there?
- if (!FILE_READABLE($FQFN)) {
+ if (!INCLUDE_READABLE($INC)) {
// Debug message
DEBUG_LOG(__FUNCTION__, __LINE__, sprintf("Extension %s not found.", $ext_name));
// Include the extension file
//* DEBUG: */ DEBUG_LOG(__FUNCTION__, __LINE__, "Extension loaded.");
- require_once($FQFN);
+ require($FQFN);
// Is this extension deprecated?
if (EXT_GET_DEPRECATED() == "Y") {
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
ADD_SQL("UPDATE `{!_MYSQL_PREFIX!}_member_menu` SET `visible`='N', `locked`='Y' WHERE `what`='booking' LIMIT 1");
break;
+case "modify": // When the extension got modified
+ break;
+
case "update": // Update an extension
switch ($EXT_VER)
{
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
}
break;
+case "modify": // When the extension got modified
+ break;
+
case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
break;
// Add an SQL to the list
function ADD_SQL ($sql) {
+ //* DEBUG: */ DEBUG_LOG(__FUNCTION__, __LINE__, sprintf("sql=%s, count=%d", $sql, COUNT_SQLS()));
$GLOBALS['sqls'][] = (string) $sql;
}
if (IS_SQLS_INITIALIZED()) {
// Then count it
$count = count($GLOBALS['sqls']);
+ //* DEBUG: */ DEBUG_LOG(__FUNCTION__, __LINE__, sprintf("count=%d", $count));
} // END - if
// Return it