Stud.IP  6.0
config_defaults.inc.php File Reference

Variables

 $DB_STUDIP_HOST = $_ENV['MYSQL_HOST'] ?? 'localhost'
 
 $DB_STUDIP_USER = $_ENV['MYSQL_USER'] ?? ''
 
 $DB_STUDIP_PASSWORD = $_ENV['MYSQL_PASSWORD'] ?? ''
 
 $DB_STUDIP_DATABASE = $_ENV['MYSQL_DATABASE'] ?? 'studip'
 
 $PLUGINS_PATH = $STUDIP_BASE_PATH . '/public/plugins_packages'
 
 $PLUGIN_ASSETS_PATH = $STUDIP_BASE_PATH . '/data/assets_cache'
 
 $UPLOAD_PATH = $STUDIP_BASE_PATH . "/data/upload_doc"
 
 $ARCHIV_PATH = $STUDIP_BASE_PATH . "/data/archiv"
 
 $OER_PATH = $STUDIP_BASE_PATH . "/data/oer"
 
 $OER_LOGOS_PATH = $STUDIP_BASE_PATH . "/data/oer_logos"
 
 $DYNAMIC_CONTENT_PATH = $STUDIP_BASE_PATH . "/public/pictures"
 
 $DYNAMIC_CONTENT_URL = $ABSOLUTE_URI_STUDIP . "pictures"
 
 $TMP_PATH ="/tmp"
 
 $MEDIA_CACHE_PATH = $STUDIP_BASE_PATH . '/data/media_cache'
 
 $CACHING_ENABLE = $_ENV['STUDIP_CACHING_ENABLE'] ?? true
 
 $CACHING_FILECACHE_PATH = $TMP_PATH . '/studip_cache'
 
 $CACHE_IS_SESSION_STORAGE = $_ENV['STUDIP_CACHE_IS_SESSION_STORAGE'] ?? false
 
 $FOP_SH_CALL = "/usr/bin/fop"
 
 $EXTERN_SERVER_NAME = ""
 
 $PLUGINS_UPLOAD_ENABLE = $_ENV['STUDIP_PLUGIN_UPLOAD_ENABLE'] ?? true
 
 $PLUGIN_REPOSITORIES
 
 $MAIL_TRANSPORT = $_ENV['STUDIP_MAIL_TRANSPORT'] ?? 'smtp'
 
 $MAIL_HOST_NAME = ""
 
 $MAIL_SMTP_OPTIONS
 
 $MAIL_LOCALHOST = ""
 
 $MAIL_CHARSET = ""
 
 $MAIL_ENV_FROM = ""
 
 $MAIL_FROM = ""
 
 $MAIL_ABUSE = ""
 
 $MAIL_BULK_DELIVERY = FALSE
 
 $MAIL_VALIDATE_HOST = TRUE
 
 $MAIL_VALIDATE_BOX = FALSE
 
 $MESSAGING_FORWARD_AS_EMAIL = TRUE
 
 $MESSAGING_FORWARD_DEFAULT = 2
 
 $MESSAGING_FORWARD_USE_REPLYTO = TRUE
 
 $ENABLE_EMAIL_TO_STATUSGROUP = TRUE
 
 $ENABLE_EMAIL_ATTACHMENTS = TRUE
 
 $MAIL_ATTACHMENTS_MAX_SIZE = 10
 
 $INSTALLED_LANGUAGES ["de_DE"] = ["path"=>"de"
 
 picture =>"lang_de.gif", "name"=>"Deutsch"]
 
 $INSTALLED_LANGUAGES ["en_GB"] = ["path"=>"en"
 
 $CONTENT_LANGUAGES ['de_DE'] = ['picture' => 'lang_de.gif'
 
 $_language_domain = "studip"
 
 $STUDIP_AUTH_PLUGIN [] = "Standard"
 
 $STUDIP_AUTH_CONFIG_STANDARD = ["error_head" => "intern"]
 
 $ENABLE_ADMIN_IP_CHECK = false
 
 $ENABLE_ROOT_IP_CHECK = false
 
 $LOGIN_IP_RANGES
 
 $LIBRARY_STYLESHEET_ID = 'din-1505-2'
 
 $LIBRARY_CATALOGS = []
 
 $LIBRARY_VARIABLE_TYPES
 
 $LIBRARY_VARIABLES
 
 $LIBRARY_DOCUMENT_TYPES
 

Variable Documentation

◆ $_language_domain

$_language_domain = "studip"

◆ $ARCHIV_PATH

$ARCHIV_PATH = $STUDIP_BASE_PATH . "/data/archiv"

◆ $CACHE_IS_SESSION_STORAGE

$CACHE_IS_SESSION_STORAGE = $_ENV['STUDIP_CACHE_IS_SESSION_STORAGE'] ?? false

◆ $CACHING_ENABLE

$CACHING_ENABLE = $_ENV['STUDIP_CACHING_ENABLE'] ?? true

◆ $CACHING_FILECACHE_PATH

$CACHING_FILECACHE_PATH = $TMP_PATH . '/studip_cache'

◆ $CONTENT_LANGUAGES

$CONTENT_LANGUAGES[ 'de_DE'] = ['picture' => 'lang_de.gif'

◆ $DB_STUDIP_DATABASE

$DB_STUDIP_DATABASE = $_ENV['MYSQL_DATABASE'] ?? 'studip'

◆ $DB_STUDIP_HOST

$DB_STUDIP_HOST = $_ENV['MYSQL_HOST'] ?? 'localhost'

◆ $DB_STUDIP_PASSWORD

$DB_STUDIP_PASSWORD = $_ENV['MYSQL_PASSWORD'] ?? ''

◆ $DB_STUDIP_USER

$DB_STUDIP_USER = $_ENV['MYSQL_USER'] ?? ''

◆ $DYNAMIC_CONTENT_PATH

$DYNAMIC_CONTENT_PATH = $STUDIP_BASE_PATH . "/public/pictures"

◆ $DYNAMIC_CONTENT_URL

$DYNAMIC_CONTENT_URL = $ABSOLUTE_URI_STUDIP . "pictures"

◆ $ENABLE_ADMIN_IP_CHECK

$ENABLE_ADMIN_IP_CHECK = false

◆ $ENABLE_EMAIL_ATTACHMENTS

$ENABLE_EMAIL_ATTACHMENTS = TRUE

◆ $ENABLE_EMAIL_TO_STATUSGROUP

$ENABLE_EMAIL_TO_STATUSGROUP = TRUE

◆ $ENABLE_ROOT_IP_CHECK

$ENABLE_ROOT_IP_CHECK = false

◆ $EXTERN_SERVER_NAME

$EXTERN_SERVER_NAME = ""

◆ $FOP_SH_CALL

$FOP_SH_CALL = "/usr/bin/fop"

◆ $INSTALLED_LANGUAGES [1/2]

$INSTALLED_LANGUAGES["de_DE"] = ["path"=>"de"

◆ $INSTALLED_LANGUAGES [2/2]

$INSTALLED_LANGUAGES["en_GB"] = ["path"=>"en"

◆ $LIBRARY_CATALOGS

$LIBRARY_CATALOGS = []

LIBRARY_CATALOGS contains the list of catalogs that are configured. Entries in this array have the following structure:

[ 'name' => The name of the catalog. 'class_name' => The class that handles the search in that catalog. It must be an implementation of the LibrarySearch interface. 'base_url' => The base URL to the search page where requests can be sent to. 'settings' => Catalog specific settings. This is an optional associative array. 'local_catalog' => Whether the catalog is a local catalog that is only used to enrich search results with additional data and download possibilities (true) or the catalog is a "normal" catalog that is used for the library search (false). ]

◆ $LIBRARY_DOCUMENT_TYPES

$LIBRARY_DOCUMENT_TYPES
Initial value:
= [
[
'name' => 'article-journal',
'display_name' => [
'de_DE' => 'Artikel Fachzeitschrift'

◆ $LIBRARY_STYLESHEET_ID

$LIBRARY_STYLESHEET_ID = 'din-1505-2'

◆ $LIBRARY_VARIABLE_TYPES

$LIBRARY_VARIABLE_TYPES
Initial value:
= [
'date',
'name',
'number',
'standard'
]

LIBRARY_VARIABLE_TYPES is a list containing the variable types that can be used for library variables.

◆ $LIBRARY_VARIABLES

$LIBRARY_VARIABLES
Initial value:
= [
[
'name' => 'abstract',
'type' => 'standard'

LIBRARY_VARIABLES is a list with all variables that can be used for library documents.

◆ $LOGIN_IP_RANGES

$LOGIN_IP_RANGES
Initial value:
=
[
'V4' => [
['start' => '', 'end' => ''],
]
,
'V6' => [
['start' => '', 'end' => ''],
]
]

◆ $MAIL_ABUSE

$MAIL_ABUSE = ""

◆ $MAIL_ATTACHMENTS_MAX_SIZE

$MAIL_ATTACHMENTS_MAX_SIZE = 10

◆ $MAIL_BULK_DELIVERY

$MAIL_BULK_DELIVERY = FALSE

◆ $MAIL_CHARSET

$MAIL_CHARSET = ""

◆ $MAIL_ENV_FROM

$MAIL_ENV_FROM = ""

◆ $MAIL_FROM

$MAIL_FROM = ""

◆ $MAIL_HOST_NAME

$MAIL_HOST_NAME = ""

◆ $MAIL_LOCALHOST

$MAIL_LOCALHOST = ""

◆ $MAIL_SMTP_OPTIONS

$MAIL_SMTP_OPTIONS
Initial value:
= [
'port' => 25

◆ $MAIL_TRANSPORT

$MAIL_TRANSPORT = $_ENV['STUDIP_MAIL_TRANSPORT'] ?? 'smtp'

◆ $MAIL_VALIDATE_BOX

$MAIL_VALIDATE_BOX = FALSE

◆ $MAIL_VALIDATE_HOST

$MAIL_VALIDATE_HOST = TRUE

◆ $MEDIA_CACHE_PATH

$MEDIA_CACHE_PATH = $STUDIP_BASE_PATH . '/data/media_cache'

◆ $MESSAGING_FORWARD_AS_EMAIL

$MESSAGING_FORWARD_AS_EMAIL = TRUE

◆ $MESSAGING_FORWARD_DEFAULT

$MESSAGING_FORWARD_DEFAULT = 2

◆ $MESSAGING_FORWARD_USE_REPLYTO

$MESSAGING_FORWARD_USE_REPLYTO = TRUE

◆ $OER_LOGOS_PATH

$OER_LOGOS_PATH = $STUDIP_BASE_PATH . "/data/oer_logos"

◆ $OER_PATH

$OER_PATH = $STUDIP_BASE_PATH . "/data/oer"

◆ $PLUGIN_ASSETS_PATH

$PLUGIN_ASSETS_PATH = $STUDIP_BASE_PATH . '/data/assets_cache'

◆ $PLUGIN_REPOSITORIES

$PLUGIN_REPOSITORIES
Initial value:
= [
'https://develop.studip.de/studip/plugins.php/pluginmarket/extern/xml',
]

◆ $PLUGINS_PATH

$PLUGINS_PATH = $STUDIP_BASE_PATH . '/public/plugins_packages'

◆ $PLUGINS_UPLOAD_ENABLE

$PLUGINS_UPLOAD_ENABLE = $_ENV['STUDIP_PLUGIN_UPLOAD_ENABLE'] ?? true

◆ $STUDIP_AUTH_CONFIG_STANDARD

$STUDIP_AUTH_CONFIG_STANDARD = ["error_head" => "intern"]

◆ $STUDIP_AUTH_PLUGIN

$STUDIP_AUTH_PLUGIN[] = "Standard"

◆ $TMP_PATH

$TMP_PATH ="/tmp"

◆ $UPLOAD_PATH

$UPLOAD_PATH = $STUDIP_BASE_PATH . "/data/upload_doc"

◆ picture

picture =>"lang_de.gif", "name"=>"Deutsch"]