baseconfig
in
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
mixedgetDatabaseConfig()
Lädt config.php
public
static getDatabaseConfig(
)
: array
Return values
arraygetCryptConfig()
Lädt crypt.php
public
static getCryptConfig(
)
: array
Tags
Return values
arraygetSecurityConfig()
Lädt sec.php
public
static getSecurityConfig(
)
: array
Tags
Return values
arraygetVersionFromFile()
Lädt version.txt
public
static getVersionFromFile(
)
: string
Tags
Return values
stringcanConnect()
allow_url_fopen = 1
public
static canConnect(
)
: bool
Return values
boolcanCrypt()
allow_url_fopen = 1
public
static canCrypt(
)
: bool
Return values
boolcanHttps()
HTTPS aktiv
public
static canHttps(
)
: bool
Tags
Return values
boolisCli()
Aufruf über CLI
public
static isCli(
)
: bool
Tags
Return values
boolnoToken()
Aufruf über CLI
public
static noToken(
)
: bool
Tags
Return values
boolmemoryLimit()
PHP Memory Limit
public
static memoryLimit(
[ $inByte :
bool
= false ]
)
: int
Parameters
- $inByte : bool = false
Ausgabe in Byte oder Mbyte
Return values
intuploadFilesizeLimit()
PHP Upload filesize limit
public
static uploadFilesizeLimit(
[ $inByte :
bool
= false ]
)
: int
Parameters
- $inByte : bool = false
Ausgabe in Byte oder Mbyte
Return values
intgetControllers()
Controller abrufen
public
static getControllers(
)
: array
Return values
arraydbConfigExists()
Prüft ob Datenbank-Config-Datei existiert
public
static dbConfigExists(
)
: bool
Return values
boolinstallerEnabled()
Prüft ob Installer aktiv ist
public
static installerEnabled(
)
: bool
Return values
boolenableInstaller()
Aktiviert bzw. deaktiviert Installer
public
static enableInstaller(
$status :
bool
)
: bool
Parameters
- $status : bool
neuer Status
Return values
boolasyncCronjobsEnabled()
Prüft ob Ausführung von asynchronen Cronjobs aktiv ist
public
static asyncCronjobsEnabled(
)
: bool
Return values
boolenableAsyncCronjobs()
Aktiviert bzw. deaktiviert asynchrone Cronjob-Ausführung
public
static enableAsyncCronjobs(
$status :
bool
)
: bool
Parameters
- $status : bool
neuer Status
Return values
boolinitServers()
Initialisiert Server-Infos
private
static initServers(
)
: mixed
Return values
mixedinitModuleControllers()
Registriert Controller-Configs aus controllers.yml
private
static initModuleControllers(
)
: aarray