mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Merge pull request #75 from laf/test-installer
New web based installer to simplify installation
This commit is contained in:
@@ -18,6 +18,13 @@ include_once("../includes/definitions.inc.php");
|
||||
include("../includes/functions.php");
|
||||
include("includes/functions.inc.php");
|
||||
|
||||
// Check for install.inc.php
|
||||
if (!file_exists('../config.php') && $_SERVER['PATH_INFO'] != '/install.php') {
|
||||
// no config.php does so let's redirect to the install
|
||||
header('Location: /install.php');
|
||||
exit;
|
||||
}
|
||||
|
||||
$runtime_start = utime();
|
||||
|
||||
ob_start();
|
||||
|
||||
Reference in New Issue
Block a user