mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fixed web installer + made the mysql import message stronger
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
// MYSQL Check - FIXME
|
||||
// 1 UNKNOWN
|
||||
require 'config.php';
|
||||
include 'config.php';
|
||||
|
||||
if (!isset($sql_file)) {
|
||||
$sql_file = 'build.sql';
|
||||
|
@@ -301,7 +301,7 @@ elseif($stage == "2") {
|
||||
<div class="col-md-3">
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h5 class="text-center">Importing MySQL DB</h5>
|
||||
<h5 class="text-center">Importing MySQL DB - Do not close this page or interupt the import</h5>
|
||||
<?php
|
||||
// Ok now let's set the db connection up
|
||||
$config['db_host']=$dbhost;
|
||||
@@ -309,7 +309,7 @@ elseif($stage == "2") {
|
||||
$config['db_pass']=$dbpass;
|
||||
$config['db_name']=$dbname;
|
||||
$sql_file = '../build.sql';
|
||||
require('../build-base.php');
|
||||
require '../build-base.php';
|
||||
?>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
|
Reference in New Issue
Block a user