2024.8.23
Loading...
Searching...
No Matches
root.php File Reference

Go to the source code of this file.

Variables

 $bearsamppAction = new Action()
 
 $bearsamppRoot = new Root(dirname(__FILE__))
 
if($bearsamppRoot->isRoot()) $langProc = new LangProc()
 
 $locale = $langProc->getValue('locale')
 
const APP_AUTHOR_NAME 'N6REJ'
 
const APP_GITHUB_LATEST_URL 'https://api.github.com/repos/' . APP_GITHUB_USER . '/' . APP_GITHUB_REPO . '/releases/latest'
 
const APP_GITHUB_REPO 'Bearsampp'
 
const APP_GITHUB_USER 'Bearsampp'
 
const APP_GITHUB_USERAGENT 'Bearsampp'
 
const APP_LICENSE 'GPL3 License'
 
const APP_TITLE 'Bearsampp'
 
const APP_WEBSITE 'https://bearsampp.com'
 
const RETURN_TAB ' '
 

Variable Documentation

◆ $bearsamppAction

$bearsamppAction = new Action()

Creates an instance of the Action class and processes the action based on command line arguments.

Definition at line 32 of file root.php.

Referenced by ActionExt\procRefresh().

◆ $bearsamppRoot

$bearsamppRoot = new Root(dirname(__FILE__))

Includes the Root class file and creates an instance of Root. Registers the root directory of the application.

Definition at line 26 of file root.php.

◆ $langProc

if ( $bearsamppRoot->isRoot()) $langProc = new LangProc()

Checks if the current user has root privileges and stops loading if true. Creates an instance of the LangProc class to handle language-specific settings. Retrieves the locale setting from the language data.

Definition at line 46 of file root.php.

◆ $locale

$locale = $langProc->getValue('locale')

Definition at line 47 of file root.php.

◆ APP_AUTHOR_NAME

const APP_AUTHOR_NAME 'N6REJ'

Defines constants used throughout the Bearsampp application.

Definition at line 11 of file root.php.

Referenced by ActionAbout\__construct().

◆ APP_GITHUB_LATEST_URL

const APP_GITHUB_LATEST_URL 'https://api.github.com/repos/' . APP_GITHUB_USER . '/' . APP_GITHUB_REPO . '/releases/latest'

Definition at line 18 of file root.php.

Referenced by ActionCheckVersion\__construct(), and ActionCheckVersion\processWindow().

◆ APP_GITHUB_REPO

const APP_GITHUB_REPO 'Bearsampp'

Definition at line 16 of file root.php.

Referenced by Util\getGithubRawUrl(), and Util\getGithubUrl().

◆ APP_GITHUB_USER

const APP_GITHUB_USER 'Bearsampp'

Definition at line 15 of file root.php.

Referenced by Util\getGithubRawUrl(), and Util\getGithubUserUrl().

◆ APP_GITHUB_USERAGENT

const APP_GITHUB_USERAGENT 'Bearsampp'

Definition at line 17 of file root.php.

Referenced by Util\setupCurlHeaderWithToken().

◆ APP_LICENSE

const APP_LICENSE 'GPL3 License'

Definition at line 14 of file root.php.

◆ APP_TITLE

◆ APP_WEBSITE

const APP_WEBSITE 'https://bearsampp.com'

Definition at line 13 of file root.php.

Referenced by Util\getWebsiteUrl().

◆ RETURN_TAB

const RETURN_TAB ' '

Definition at line 19 of file root.php.

Referenced by TplConsoleZ\getIncrStr().