diff --git a/install/froxlor.sql b/install/froxlor.sql index 316a42dc..562c2c0a 100644 --- a/install/froxlor.sql +++ b/install/froxlor.sql @@ -540,7 +540,7 @@ INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('panel', 'phpconfigs_hidestdsubdomain', '0'), ('panel', 'allow_theme_change_admin', '1'), ('panel', 'allow_theme_change_customer', '1'), - ('panel', 'version', '0.9.31-dev2'); + ('panel', 'version', '0.9.31-dev3'); DROP TABLE IF EXISTS `panel_tasks`; diff --git a/install/updates/froxlor/0.9/update_0.9.inc.php b/install/updates/froxlor/0.9/update_0.9.inc.php index 5d4bbcde..7b9545d7 100644 --- a/install/updates/froxlor/0.9/update_0.9.inc.php +++ b/install/updates/froxlor/0.9/update_0.9.inc.php @@ -2446,3 +2446,9 @@ if (isFroxlorVersion('0.9.31-dev1')) { updateToVersion('0.9.31-dev2'); } + +if (isFroxlorVersion('0.9.31-dev2')) { + showUpdateStep("Updating from 0.9.31-dev2 to 0.9.31-dev3", true); + lastStepStatus(0); + updateToVersion('0.9.31-dev3'); +} diff --git a/install/updates/preconfig/0.9/preconfig_0.9.inc.php b/install/updates/preconfig/0.9/preconfig_0.9.inc.php index 8240a872..bac67cba 100644 --- a/install/updates/preconfig/0.9/preconfig_0.9.inc.php +++ b/install/updates/preconfig/0.9/preconfig_0.9.inc.php @@ -584,4 +584,16 @@ function parseAndOutputPreconfig(&$has_preconfig, &$return, $current_version) eval("\$return.=\"" . getTemplate("update/preconfigitem") . "\";"); } } + + if (versionInUpdate($current_version, '0.9.31-dev3')) { + if (!extension_loaded('pdo') + || in_array("mysql", PDO::getAvailableDrivers()) == false + ) { + $has_preconfig = true; + $description = 'Froxlor now uses PHP PDO as database backend. Please be sure that you have the php-pdo extension with mysql-driver installed.

'; + $description .= 'Check your distributions manuals on how to install php-pdo.'; + $question = ''; + eval("\$return.=\"" . getTemplate("update/preconfigitem") . "\";"); + } + } } diff --git a/lib/tables.inc.php b/lib/tables.inc.php index 08e108a3..f5c4aa54 100644 --- a/lib/tables.inc.php +++ b/lib/tables.inc.php @@ -71,6 +71,6 @@ define('PACKAGE_LOCKED', 1); define('PACKAGE_ENABLED', 2); // VERSION INFO -$version = '0.9.31-dev2'; +$version = '0.9.31-dev3'; $dbversion = '2'; $branding = '';