2013-06-07 05:44:37 -04:00
|
|
|
<?php
|
2026-03-26 12:46:27 -04:00
|
|
|
|
|
|
|
|
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
|
|
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
2013-06-07 05:44:37 -04:00
|
|
|
|
|
|
|
|
namespace Icinga\Application;
|
|
|
|
|
|
|
|
|
|
require_once dirname(__FILE__) . '/Web.php';
|
2023-08-15 04:01:06 -04:00
|
|
|
|
|
|
|
|
use Exception;
|
2013-06-07 05:44:37 -04:00
|
|
|
use Icinga\Exception\ProgrammingError;
|
|
|
|
|
|
|
|
|
|
class LegacyWeb extends Web
|
|
|
|
|
{
|
|
|
|
|
// IcingaWeb 1.x base dir
|
|
|
|
|
protected $legacyBasedir;
|
|
|
|
|
|
|
|
|
|
protected function bootstrap()
|
|
|
|
|
{
|
|
|
|
|
parent::bootstrap();
|
|
|
|
|
throw new ProgrammingError('Not yet');
|
|
|
|
|
// $this->setupIcingaLegacyWrapper();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Get the Icinga-Web 1.x base path
|
|
|
|
|
*
|
|
|
|
|
* @throws Exception
|
|
|
|
|
* @return self
|
|
|
|
|
*/
|
|
|
|
|
public function getLecacyBasedir()
|
|
|
|
|
{
|
|
|
|
|
return $this->legacyBasedir;
|
|
|
|
|
}
|
|
|
|
|
}
|