// Make sure ext-sql_patches is first
array_unshift($extensions, 'sql_patches');
+ // This takes longer
+ if (ini_set('max_input_time', 0) === FALSE) {
+ // Something didn't work
+ logDebugMessage(__FUNCTION__, __LINE__, 'Cannot set max_input_time to 0.');
+ } // END - if
+
// "Walk" through all extensions
foreach ($extensions as $key => $ext_name) {
// Debug message
addAdminMenuSql('user', 'list_links', 'Unbestätigte Mails', 'Mit diesem Menüpunkt können Sie die vom Mitglied nicht bestätigten Mails anzeigen.', 8);
addAdminMenuSql('user', 'list_user_cats', 'Kategorien anzeigen', 'Listet die ausgewählten Kategorien eines Mitgliedes auf.', 9);
-// Add dependency to ext-other as pool-user requires it
+// Add dependency to ext-country/ext-other as pool-user/add_tester_user requires it
+addExtensionDependency('country');
addExtensionDependency('other');
// [EOF]
// De-refer this URL
$url = sprintf(
- '{%url=modules.php?module=loader&url=%s&hash=%s&salt=%s%}',
+ '{%%url=modules.php?module=loader&url=%s&hash=%s&salt=%s%%}',
$encodedUrl,
encodeHashForCookie($hash),
substr($hash, 0, getSaltLength())
// Add description as navigation point
addYouAreHereLink('admin', __FILE__);
+// Is ext-country installed?
+if (!isExtensionActive('country')) {
+ // This extension is also required
+ displayMessage('{%pipe,generateExtensionInactiveNotInstalledMessage=country%}');
+ return;
+} // END - if
+
// Is the form sent or something did go wrong?
if (!isNewUserTesterAllowed()) {
// No more accounts allowed to create (maximum reached)