Skip to content

Commit a4fb1d1

Browse files
committed
update for 3.0.20
1 parent 745d291 commit a4fb1d1

File tree

5 files changed

+9
-6
lines changed

5 files changed

+9
-6
lines changed

src/admin/modules/index.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,11 @@
5050
// Hacky patch. Longer term plan, see: https://github.com/formtools/core/issues/82
5151
$localized_modules = array();
5252
foreach ($modules as $module_info) {
53-
$module = Modules::getModuleInstance($module_info["module_folder"]);
53+
$module_folder = $module_info["module_folder"];
54+
if (!Modules::isValidModule($module_folder)) {
55+
continue;
56+
}
57+
$module = Modules::getModuleInstance($module_folder);
5458
$module_info["module_name"] = $module->getModuleName();
5559
$module_info["description"] = $module->getModuleDesc();
5660
$localized_modules[] = $module_info;

src/global/code/Core.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ class Core
263263
/**
264264
* The current version of the Form Tools Core.
265265
*/
266-
private static $version = "3.0.19";
266+
private static $version = "3.0.20";
267267

268268
/**
269269
* The release type: alpha, beta or main
@@ -273,7 +273,7 @@ class Core
273273
/**
274274
* The release date: YYYYMMDD
275275
*/
276-
private static $releaseDate = "20191014";
276+
private static $releaseDate = "20191019";
277277

278278
/**
279279
* The minimum required PHP version needed to run Form Tools.

src/install/actions-installation.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@
253253
Sessions::set("fti.accountCreated", true);
254254

255255
// now set up the remainder of the script
256+
Installation::updateDatabaseSettings();
256257
Hooks::updateAvailableHooks();
257258
Modules::updateModuleList();
258259
Themes::updateThemeList();

src/install/index.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@
2424
<head>
2525
<title><?php echo $LANG["phrase_ft_installation"]; ?></title>
2626
<link rel="Form Tools icon" href="../themes/default/images/favicon.ico">
27-
<?php if (!Core::isDevMode()) { ?>
2827
<link rel="stylesheet" href="../react/main.css">
29-
<?php } ?>
3028
</head>
3129
<body>
3230
<div id="root"></div>

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const config = (env) => {
2626
{
2727
test: /\.scss$/,
2828
use: [
29-
isDev ? 'style-loader' : MiniCssExtractPlugin.loader,
29+
MiniCssExtractPlugin.loader,
3030
{
3131
loader: 'css-loader',
3232
options: {

0 commit comments

Comments
 (0)