HEX
Server: Apache/2.4.65 (Debian)
System: Linux web6 5.10.0-36-amd64 #1 SMP Debian 5.10.244-1 (2025-09-29) x86_64
User: innocamp (1028)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /home/mklgolf/public_html/wp-content/plugins/live-weather-station/init.php
<?php

/**
 * Initialization of globals.
 *
 * @package Bootstrap
 * @author Pierre Lannoy <https://pierre.lannoy.fr/>.
 * @license http://www.gnu.org/licenses/gpl-2.0.html GPLv2 or later
 * @since 3.0.0
 */

require_once (__DIR__.'/functions.php');
require_once (__DIR__.'/autoload.php');

use WeatherStation\System\Schedules\Watchdog;
use WeatherStation\System\URL\Client as URL;
use WeatherStation\System\Environment\Manager as EnvManager;
use WeatherStation\System\Storage\Manager as FS;

/**
 * Definition of main constants.
 *
 * @since 1.0.0
 */

//--- E X P E R I M E N T A L -----------------------------------------------------------------------

define('LWS_FILE_CACHE', false);

//---------------------------------------------------------------------------------------------------

define('LWS_VERSION', '3.8.11');
define('LWS_PREVIEW', false);

define('LWS_CODENAME', '"Danakil"');
define('LWS_WHATSNEW', 'https://weather.station.software/blog/weather-station-3-8-danakil/');
define('LWS_SHOW_CHANGELOG', false);

//---------------------------------------------------------------------------------------------------

define('LWS_CHANGELOG', 'https://weather.station.software/handbook/changelog/');
define('LWS_FULL_NAME', 'Weather Station 3');
define('LWS_OWM_READY', false);
define('LWS_MINIMUM_WP_VERSION', '4.9');
define('LWS_MINIMUM_PHP_VERSION', '7.1');
define('LWS_PLUGIN_ID', 'live-weather-station');
define('LWS_PLUGIN_SLUG', 'live-weather-station');
define('LWS_PLUGIN_TEXT_DOMAIN', 'live-weather-station');
define('LWS_PLUGIN_NAME', 'Weather Station');
define('LWS_PLUGIN_SIGNATURE', LWS_PLUGIN_NAME . ' v' . LWS_VERSION);
define('LWS_PLUGIN_DIR', plugin_dir_path(__FILE__));
define('LWS_PLUGIN_URL', plugin_dir_url(__FILE__));
define('LWS_RELATIVE_PLUGIN_URL', str_replace(get_site_url().'/', '', plugin_dir_url(__FILE__)));
define('LWS_ADMIN_DIR', plugin_dir_path(__FILE__).'admin/');
define('LWS_ADMIN_URL', plugin_dir_url(__FILE__).'admin/');
define('LWS_PUBLIC_DIR', plugin_dir_path(__FILE__).'public/');
define('LWS_PUBLIC_URL', plugin_dir_url(__FILE__).'public/');
define('LWS_INCLUDES_DIR', plugin_dir_path(__FILE__).'includes/');
define('LWS_LANGUAGES_DIR', plugin_dir_path(__FILE__).'languages/');
define('LWS_ADMIN_PHP_URL', EnvManager::admin_dir_relative_url());
define('LWS_AJAX_URL', EnvManager::ajax_dir_relative_url());
define('LWS_I18N_LOADED', EnvManager::is_i18n_loaded());
define('LWS_JSON_LOADED', EnvManager::is_json_loaded());
define('LWS_PHPVERSION_OK', EnvManager::is_php_version_ok());
define('LWS_PLUGIN_AGENT', LWS_FULL_NAME . ' (' . EnvManager::wordpress_version_id() . '; ' . EnvManager::weatherstation_version_id() . '; +https://weather.station.software)');
define('LWS_IC_WPROCKET', EnvManager::is_wp_rocket_installed());
define('LWS_IC_WPSC', EnvManager::is_wp_super_cache_installed());
define('LWS_IC_W3TC', EnvManager::is_w3_total_cache_installed());
define('LWS_IC_AUTOPTIMIZE', EnvManager::is_autoptimize_installed());
define('LWS_IC_HC', EnvManager::is_hyper_cache_installed());
define('LWS_WU_ACTIVE', false);
define('LWS_SERVICE_SEPARATOR', '{/LWS_SEP/}');


/**
 * Initialize the Logger class that is responsible for logging.
 *
 * @since 2.8.0
 */
require_once LWS_INCLUDES_DIR.'system/Logger.php';

/**
 * Begins execution of the plugin.
 *
 * @since 1.0.0
 */
function run_Live_Weather_Station() {
    URL::init_rewrite_rules();
    FS::init();
    $plugin = new \WeatherStation\System\Plugin\Core();
    $plugin->run();
    Watchdog::start();
}