2017-05-22 11:24:21 +02:00
|
|
|
<?php
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// NagiosQL
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
2017-10-20 15:00:08 +02:00
|
|
|
// (c) 2005-2017 by Martin Willisegger
|
2017-05-22 11:24:21 +02:00
|
|
|
//
|
|
|
|
// Project : NagiosQL
|
|
|
|
// Component : Installer preprocessing script
|
|
|
|
// Website : http://www.nagiosql.org
|
2017-10-20 15:00:08 +02:00
|
|
|
// Date : $LastChangedDate: 2017-06-22 09:29:35 +0200 (Thu, 22 Jun 2017) $
|
2017-05-22 11:24:21 +02:00
|
|
|
// Author : $LastChangedBy: martin $
|
2017-10-20 15:00:08 +02:00
|
|
|
// Version : 3.3.0
|
|
|
|
// Revision : $LastChangedRevision: 2 $
|
2017-05-22 11:24:21 +02:00
|
|
|
//
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
error_reporting(E_ALL);
|
|
|
|
//
|
|
|
|
// Define common variables
|
|
|
|
// =======================
|
|
|
|
$strErrorMessage = ""; // All error messages (red)
|
|
|
|
$strInfoMessage = ""; // All information messages (green)
|
|
|
|
//
|
|
|
|
// Start PHP session
|
|
|
|
// =================
|
2017-10-20 15:00:08 +02:00
|
|
|
session_start([ 'name' => 'nagiosql_install']);
|
2017-05-22 11:24:21 +02:00
|
|
|
//
|
|
|
|
// Include external function/class files
|
|
|
|
// =====================================
|
|
|
|
include("functions/install_class.php");
|
|
|
|
//
|
|
|
|
// Initialize class
|
|
|
|
// ================
|
|
|
|
$myInstClass = new naginstall;
|
|
|
|
?>
|