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:
@@ -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`;
|
||||||
|
|||||||
@@ -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") . "\";");
|
||||||
|
|||||||
Reference in New Issue
Block a user