Skip to content

Commit 2bdcab1

Browse files
author
Marius Burkard
committed
- raised version to 3.2.0dev
- fixes in addon installer
1 parent 7dbf4c1 commit 2bdcab1

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

install/sql/ispconfig3.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2270,7 +2270,7 @@ INSERT INTO `sys_user` (`userid`, `sys_userid`, `sys_groupid`, `sys_perm_user`,
22702270
-- Dumping data for table `sys_config`
22712271
--
22722272

2273-
INSERT INTO sys_config VALUES ('db','db_version','3.1dev');
2273+
INSERT INTO sys_config VALUES ('db','db_version','3.2.0dev');
22742274
INSERT INTO sys_config VALUES ('interface','session_timeout','0');
22752275

22762276
SET FOREIGN_KEY_CHECKS = 1;

install/tpl/config.inc.php.master

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ $revision = str_replace(array('Revision:','$',' '), '', $svn_revision);
5656

5757
//** Application
5858
define('ISPC_APP_TITLE', 'ISPConfig');
59-
define('ISPC_APP_VERSION', '3.1dev');
59+
define('ISPC_APP_VERSION', '3.2.0dev');
6060
define('DEVSYSTEM', 0);
6161

6262

interface/lib/config.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
//** Application
4747
define('ISPC_APP_TITLE', 'ISPConfig');
48-
define('ISPC_APP_VERSION', '3.1dev');
48+
define('ISPC_APP_VERSION', '3.2.0dev');
4949
define('DEVSYSTEM', 0);
5050

5151

server/addons.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
$package = '';
4747

4848
$argv = $_SERVER['argv'];
49-
for($a = 0; $a < count($argv); $a++) {
49+
for($a = 1; $a < count($argv); $a++) {
5050
if($argv[$a] === '--install' || $argv[$a] === 'install'
5151
|| $argv[$a] === '--update' || $argv[$a] === 'update') {
5252
$action = 'install';

server/lib/classes/addon_installer.inc.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,10 @@ private function getInstalledAddonVersion($ident) {
121121
* @throws AddonInstallerValidationException
122122
*/
123123
public function installAddon($package_file, $force = false) {
124+
global $app;
125+
126+
$app->load('ispconfig_addon_installer_base');
127+
124128
if(!is_file($package_file)) {
125129
throw new AddonInstallerException('Package file not found.');
126130
} elseif(substr($package_file, -4) !== '.pkg') {

0 commit comments

Comments
 (0)