New upstream version 3.5.0
This commit is contained in:
@@ -1,34 +1,35 @@
|
||||
<?php
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// NagiosQL
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// (c) 2005-2018 by Martin Willisegger
|
||||
//
|
||||
// Project : NagiosQL
|
||||
// Component : Installer preprocessing script
|
||||
// Website : https://sourceforge.net/projects/nagiosql/
|
||||
// Version : 3.4.0
|
||||
// GIT Repo : https://gitlab.com/wizonet/NagiosQL
|
||||
//
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
/* ----------------------------------------------------------------------------
|
||||
NagiosQL
|
||||
-------------------------------------------------------------------------------
|
||||
(c) 2005-2022 by Martin Willisegger
|
||||
|
||||
Project : NagiosQL
|
||||
Component : Installer preprocessing script
|
||||
Website : https://sourceforge.net/projects/nagiosql/
|
||||
Version : 3.5.0
|
||||
GIT Repo : https://gitlab.com/wizonet/NagiosQL
|
||||
-----------------------------------------------------------------------------*/
|
||||
error_reporting(E_ALL);
|
||||
//
|
||||
// Define common variables
|
||||
// =======================
|
||||
$strErrorMessage = ''; // All error messages (red)
|
||||
$strInfoMessage = ''; // All information messages (green)
|
||||
//
|
||||
/**
|
||||
* Class and variable includes
|
||||
* @var string $preBasePath from index.php
|
||||
*/
|
||||
/*
|
||||
Define common variables
|
||||
*/
|
||||
$strErrorMessage = ''; /* All error messages (red) */
|
||||
$strInfoMessage = ''; /* All information messages (green) */
|
||||
/*
|
||||
// Start PHP session
|
||||
// =================
|
||||
session_start([ 'name' => 'nagiosql_install']);
|
||||
//
|
||||
// Include external function/class files
|
||||
// =====================================
|
||||
require $preBasePath.'functions/Autoloader.php';
|
||||
*/
|
||||
session_start(['name' => 'nagiosql_install']);
|
||||
/*
|
||||
Include external function/class files
|
||||
*/
|
||||
require $preBasePath . 'functions/Autoloader.php';
|
||||
functions\Autoloader::register($preBasePath);
|
||||
//
|
||||
// Initialize class
|
||||
// ================
|
||||
$myInstClass = new install\functions\NagInstallClass($_SESSION);
|
||||
/*
|
||||
Initialize class
|
||||
*/
|
||||
$myInstClass = new install\functions\NagInstallClass($_SESSION);
|
||||
Reference in New Issue
Block a user