put cron.d-generation task directly to froxlor.sql as there might be no userdata.inc.php after the installation (only in /tmp or plaintext for copy'n'paste) so the database action fails

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2014-02-14 11:18:02 +01:00
parent 938bb429d8
commit 20d54d5a04
2 changed files with 1 additions and 1 deletions

View File

@@ -539,6 +539,7 @@ CREATE TABLE `panel_tasks` (
PRIMARY KEY (`id`) PRIMARY KEY (`id`)
) ENGINE=MyISAM CHARSET=utf8 COLLATE=utf8_general_ci; ) ENGINE=MyISAM CHARSET=utf8 COLLATE=utf8_general_ci;
INSERT INTO `panel_tasks` (`type`) VALUES ('99');
DROP TABLE IF EXISTS `panel_templates`; DROP TABLE IF EXISTS `panel_templates`;

View File

@@ -284,7 +284,6 @@ class FroxlorInstall {
$message = $this->_lng['install']['froxlor_succ_installed']; $message = $this->_lng['install']['froxlor_succ_installed'];
$link = '../index.php'; $link = '../index.php';
$linktext = $this->_lng['click_here_to_login']; $linktext = $this->_lng['click_here_to_login'];
inserttask('99');
} }
eval("\$navigation .= \"" . $this->_getTemplate("pagebottom") . "\";"); eval("\$navigation .= \"" . $this->_getTemplate("pagebottom") . "\";");