2024.8.23
Loading...
Searching...
No Matches
class.action.restart.php
Go to the documentation of this file.
1<?php
2/*
3 * Copyright (c) 2021-2024 Bearsampp
4 * License: GNU General Public License version 3 or later; see LICENSE.txt
5 * Author: Bear
6 * Website: https://bearsampp.com
7 * Github: https://github.com/Bearsampp
8 */
9
10/**
11 * Class ActionRestart
12 * Handles the restart action for the Bearsampp application.
13 */
15{
16 /**
17 * ActionRestart constructor.
18 * Displays a message box with restart information.
19 *
20 * @param array $args Command line arguments passed to the action.
21 */
22 public function __construct($args)
23 {
24 global $bearsamppLang, $bearsamppWinbinder;
25
26 $bearsamppWinbinder->messageBoxInfo(
27 sprintf($bearsamppLang->getValue(Lang::RESTART_TEXT), APP_TITLE),
29 }
30}
global $bearsamppLang
const RESTART_TITLE
const RESTART_TEXT
const APP_TITLE
Definition root.php:12