fixing upgrade process and re-reading of panel.version

This commit is contained in:
Michael Kaufmann (d00p)
2010-01-20 15:55:53 +00:00
parent fabcb303fb
commit bb8641031f
3 changed files with 15 additions and 9 deletions

View File

@@ -31,7 +31,7 @@ require ('../lib/tables.inc.php');
* Inlcudes the MySQL-Connection-Class
*/
require ('../lib/class_mysqldb.php');
require ('../lib/classes/database/class.db.php');
$db = new db($sql['host'], $sql['user'], $sql['password'], $sql['db']);
unset($sql['password']);
unset($db->password);
@@ -112,7 +112,7 @@ if(!isset($settings['panel']['frontend'])
}
/**
* Upgrading SysCP to Froxlor-1.0
* Upgrading SysCP to Froxlor-0.9
*
* when we reach this part, all necessary updates
* should have been installes automatically by the
@@ -127,4 +127,4 @@ inserttask('1');
@chmod('../lib/userdata.inc.php', 0440);
header('Location: ../index.php');
?>
?>