Documentation

baseconfig

Base config class

Table of Contents

$updateServer Update-Server-URL string
$updateServerManualLink Link für manuelle Update-Prüfung string
$moduleServer Module-Server-URL string
$moduleServerManualLink Link für manuellen Module-Manager string
$folderExcludes auszuschließende Ordner array
$logFiles Logdatein array
$dateTimeMasks Datetime-Masken array
$installerEnabledFile Installer aktiv Status-Datei string
init() Initiiert Grundsystem mixed
getDatabaseConfig() Lädt config.php array
getCryptConfig() Lädt crypt.php array
getSecurityConfig() Lädt sec.php array
getVersionFromFile() Lädt version.txt string
canConnect() allow_url_fopen = 1 bool
canCrypt() allow_url_fopen = 1 bool
canHttps() HTTPS aktiv bool
isCli() Aufruf über CLI bool
noToken() Aufruf über CLI bool
memoryLimit() PHP Memory Limit int
uploadFilesizeLimit() PHP Upload filesize limit int
getControllers() Controller abrufen array
dbConfigExists() Prüft ob Datenbank-Config-Datei existiert bool
installerEnabled() Prüft ob Installer aktiv ist bool
enableInstaller() Aktiviert bzw. deaktiviert Installer bool
asyncCronjobsEnabled() Prüft ob Ausführung von asynchronen Cronjobs aktiv ist bool
enableAsyncCronjobs() Aktiviert bzw. deaktiviert asynchrone Cronjob-Ausführung bool
initServers() Initialisiert Server-Infos mixed
initModuleControllers() Registriert Controller-Configs aus controllers.yml aarray

Properties

$updateServer

Update-Server-URL

public static string $updateServer

$updateServerManualLink

Link für manuelle Update-Prüfung

public static string $updateServerManualLink

$moduleServer

Module-Server-URL

public static string $moduleServer

$moduleServerManualLink

Link für manuellen Module-Manager

public static string $moduleServerManualLink

$folderExcludes

auszuschließende Ordner

public static array $folderExcludes = array('.', '..')

$logFiles

Logdatein

public static array $logFiles = []

$dateTimeMasks

Datetime-Masken

public static array $dateTimeMasks = ['d.m.Y, H:i', 'd. M Y, H:i', 'd.n.Y H:i', 'j. M Y H:i', 'j.n.Y H:i', 'M dS Y - h:ia', 'm/d/Y - h:ia', 'M jS Y - h:ia', 'n/d/Y - h:ia']

$installerEnabledFile

Installer aktiv Status-Datei

private static string $installerEnabledFile

Methods

init()

Initiiert Grundsystem

public static init( ) : mixed
Return values
mixed

getDatabaseConfig()

Lädt config.php

public static getDatabaseConfig( ) : array
Return values
array

getCryptConfig()

Lädt crypt.php

public static getCryptConfig( ) : array
Tags
since
Return values
array

getSecurityConfig()

Lädt sec.php

public static getSecurityConfig( ) : array
Tags
since
Return values
array

getVersionFromFile()

Lädt version.txt

public static getVersionFromFile( ) : string
Tags
since
Return values
string

canConnect()

allow_url_fopen = 1

public static canConnect( ) : bool
Return values
bool

canCrypt()

allow_url_fopen = 1

public static canCrypt( ) : bool
Return values
bool

canHttps()

HTTPS aktiv

public static canHttps( ) : bool
Tags
since
Return values
bool

isCli()

Aufruf über CLI

public static isCli( ) : bool
Tags
since
Return values
bool

noToken()

Aufruf über CLI

public static noToken( ) : bool
Tags
since
Return values
bool

memoryLimit()

PHP Memory Limit

public static memoryLimit( [ $inByte : bool = false ] ) : int
Parameters
$inByte : bool = false

Ausgabe in Byte oder Mbyte

Return values
int

uploadFilesizeLimit()

PHP Upload filesize limit

public static uploadFilesizeLimit( [ $inByte : bool = false ] ) : int
Parameters
$inByte : bool = false

Ausgabe in Byte oder Mbyte

Return values
int

getControllers()

Controller abrufen

public static getControllers( ) : array
Return values
array

dbConfigExists()

Prüft ob Datenbank-Config-Datei existiert

public static dbConfigExists( ) : bool
Return values
bool

installerEnabled()

Prüft ob Installer aktiv ist

public static installerEnabled( ) : bool
Return values
bool

enableInstaller()

Aktiviert bzw. deaktiviert Installer

public static enableInstaller( $status : bool ) : bool
Parameters
$status : bool

neuer Status

Return values
bool

asyncCronjobsEnabled()

Prüft ob Ausführung von asynchronen Cronjobs aktiv ist

public static asyncCronjobsEnabled( ) : bool
Return values
bool

enableAsyncCronjobs()

Aktiviert bzw. deaktiviert asynchrone Cronjob-Ausführung

public static enableAsyncCronjobs( $status : bool ) : bool
Parameters
$status : bool

neuer Status

Return values
bool

initServers()

Initialisiert Server-Infos

private static initServers( ) : mixed
Return values
mixed

initModuleControllers()

Registriert Controller-Configs aus controllers.yml

private static initModuleControllers( ) : aarray
Return values
aarray

Search results