Skip to content
Browse files

Schedule for SysCP 1.2.18

git-svn-id: file:///var/svn/trunk/syscp@1370 45fdb5c4-e40b-0410-b369-9aab4fe9a275
  • Loading branch information...
1 parent b5bcd54 commit f99765c474fdb5bdc06e1e5a339ecf3a227a15f0 @flol committed
Showing with 12 additions and 2 deletions.
  1. +1 −1 install/syscp.sql
  2. +10 −0 install/updatesql_1.2.inc.php
  3. +1 −1 lib/tables.inc.php
View
2 install/syscp.sql
@@ -407,7 +407,7 @@ INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) V
INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (18, 'system', 'vmail_homedir', '/var/kunden/mail/');
INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (19, 'system', 'bindconf_directory', '/etc/bind/');
INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (20, 'system', 'bindreload_command', '/etc/init.d/bind9 reload');
-INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (22, 'panel', 'version', '1.2.17');
+INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (22, 'panel', 'version', '1.2.18');
INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (23, 'system', 'hostname', 'SERVERNAME');
INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (24, 'login', 'maxloginattempts', '3');
INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (25, 'login', 'deactivatetime', '900');
View
10 install/updatesql_1.2.inc.php
@@ -1182,4 +1182,14 @@
$settings['panel']['version'] = '1.2.17';
}
+if($settings['panel']['version'] == '1.2.17')
+{
+ // set new version
+
+ $query = 'UPDATE `%s` SET `value` = \'1.2.18\' WHERE `settinggroup` = \'panel\' AND `varname` = \'version\'';
+ $query = sprintf($query, TABLE_PANEL_SETTINGS);
+ $db->query($query);
+ $settings['panel']['version'] = '1.2.18';
+}
+
?>
View
2 lib/tables.inc.php
@@ -35,6 +35,6 @@
define('TABLE_PANEL_LANGUAGE', 'panel_languages');
define('TABLE_PANEL_CRONSCRIPT', 'panel_cronscript');
define('TABLE_PANEL_IPSANDPORTS', 'panel_ipsandports');
-$version = '1.2.17';
+$version = '1.2.18';
?>

0 comments on commit f99765c

Please sign in to comment.
Something went wrong with that request. Please try again.