New upstream version 3.5.0

This commit is contained in:
geos_one
2025-08-08 11:12:01 +02:00
parent 8948a800bb
commit 8e3d35fd6e
153 changed files with 33544 additions and 22227 deletions

View File

@@ -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);