Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
bootstrap.php File Reference

Data Structures

class  DB_Seminar
 

Variables

const DEFAULT_ENV = 'production'
 
 $SOFTWARE_VERSION = '5.3.alpha-svn'
 
 $STUDIP_STARTUP_TIME = microtime(true)
 
global $PHP_SELF = $_SERVER['PHP_SELF'] = $_SERVER['SCRIPT_NAME']
 
global $STUDIP_BASE_PATH = realpath(dirname(__FILE__) . '/..')
 
 $ABSOLUTE_PATH_STUDIP = $STUDIP_BASE_PATH . '/public/'
 
 $CANONICAL_RELATIVE_PATH_STUDIP = dirname($_SERVER['PHP_SELF'])
 
if(DIRECTORY_SEPARATOR!=
'/') if(substr($CANONICAL_RELATIVE_PATH_STUDIP,-1)!="/") 
$ABSOLUTE_URI_STUDIP = ""
 
if(isset($_SERVER['SERVER_NAME'])) $GLOBALS ['ASSETS_URL'] = $ABSOLUTE_URI_STUDIP . 'assets/'
 
 $added_configs = []
 
foreach($added_configs as $key=>
$value) if(!defined('Studip\ENV')) 
if (!file_exists($GLOBALS['STUDIP_BASE_PATH']. '/config/config_local.inc.php')&&php_sapi_name()!== 'cli')
 
if($GLOBALS['ASSETS_URL'][0]===
'/') else 
if (!preg_match('/^[a-z]+:/', $GLOBALS['ASSETS_URL']))
 
 $GLOBALS ['template_factory'] = new Flexi_TemplateFactory("{$STUDIP_BASE_PATH}/templates")
 
 try
 
catch(PDOException $exception)
if(isset($GLOBALS['DB_STUDIP_SLAVE_HOST'])) 
else
 
if(Config::Get() ->
ILIAS_INTERFACE_ENABLE) 
$GLOBALS ['_fullname_sql'] = []
 
 $GLOBALS ['_fullname_sql']['full'] = "TRIM(CONCAT(title_front,' ',Vorname,' ',Nachname,IF(title_rear!='',CONCAT(', ',title_rear),'')))"
 
 $GLOBALS ['_fullname_sql']['full_rev'] = "TRIM(CONCAT(Nachname,', ',Vorname,IF(title_front!='',CONCAT(', ',title_front),''),IF(title_rear!='',CONCAT(', ',title_rear),'')))"
 
 $GLOBALS ['_fullname_sql']['no_title'] = "CONCAT(Vorname ,' ', Nachname)"
 
 $GLOBALS ['_fullname_sql']['no_title_rev'] = "CONCAT(Nachname ,', ', Vorname)"
 
 $GLOBALS ['_fullname_sql']['no_title_short'] = "CONCAT(Nachname,', ',UCASE(LEFT(TRIM(Vorname),1)),'.')"
 
 $GLOBALS ['_fullname_sql']['no_title_motto'] = "CONCAT(Vorname ,' ', Nachname,IF(motto!='',CONCAT(', ',motto),''))"
 
 $GLOBALS ['_fullname_sql']['full_rev_username'] = "TRIM(CONCAT(Nachname,', ',Vorname,IF(title_front!='',CONCAT(', ',title_front),''),IF(title_rear!='',CONCAT(', ',title_rear),''),' (',username,')'))"
 
 $GLOBALS ['SEM_CLASS'] = SemClass::getClasses()
 
 $GLOBALS ['SEM_TYPE'] = SemType::getTypes()
 
 $mail_transporter_class = $mail_transporter_name . '_class'
 
 $mail_transporter = new $mail_transporter_class
 
if($mail_transporter_name==
'smtp_message')
$mail_transporter 
default_charset = 'UTF-8'
 

Variable Documentation

$ABSOLUTE_PATH_STUDIP = $STUDIP_BASE_PATH . '/public/'
if (DIRECTORY_SEPARATOR!= '/') if (substr($CANONICAL_RELATIVE_PATH_STUDIP,-1)!="/") $ABSOLUTE_URI_STUDIP = ""
$added_configs = []
$CANONICAL_RELATIVE_PATH_STUDIP = dirname($_SERVER['PHP_SELF'])
if (isset($_SERVER['SERVER_NAME'])) $GLOBALS['ASSETS_URL'] = $ABSOLUTE_URI_STUDIP . 'assets/'
$GLOBALS['template_factory'] = new Flexi_TemplateFactory("{$STUDIP_BASE_PATH}/templates")
if (Config::Get() ->ILIAS_INTERFACE_ENABLE) $GLOBALS['_fullname_sql'] = []
$GLOBALS['_fullname_sql']['full'] = "TRIM(CONCAT(title_front,' ',Vorname,' ',Nachname,IF(title_rear!='',CONCAT(', ',title_rear),'')))"
$GLOBALS['_fullname_sql']['full_rev'] = "TRIM(CONCAT(Nachname,', ',Vorname,IF(title_front!='',CONCAT(', ',title_front),''),IF(title_rear!='',CONCAT(', ',title_rear),'')))"
$GLOBALS['_fullname_sql']['no_title'] = "CONCAT(Vorname ,' ', Nachname)"
$GLOBALS['_fullname_sql']['no_title_rev'] = "CONCAT(Nachname ,', ', Vorname)"
$GLOBALS['_fullname_sql']['no_title_short'] = "CONCAT(Nachname,', ',UCASE(LEFT(TRIM(Vorname),1)),'.')"
$GLOBALS['_fullname_sql']['no_title_motto'] = "CONCAT(Vorname ,' ', Nachname,IF(motto!='',CONCAT(', ',motto),''))"
$GLOBALS['_fullname_sql']['full_rev_username'] = "TRIM(CONCAT(Nachname,', ',Vorname,IF(title_front!='',CONCAT(', ',title_front),''),IF(title_rear!='',CONCAT(', ',title_rear),''),' (',username,')'))"
$GLOBALS['SEM_CLASS'] = SemClass::getClasses()
$GLOBALS['SEM_TYPE'] = SemType::getTypes()
$mail_transporter = new $mail_transporter_class
$mail_transporter_class = $mail_transporter_name . '_class'
$PHP_SELF = $_SERVER['PHP_SELF'] = $_SERVER['SCRIPT_NAME']
$SOFTWARE_VERSION = '5.3.alpha-svn'
$STUDIP_BASE_PATH = realpath(dirname(__FILE__) . '/..')
$STUDIP_STARTUP_TIME = microtime(true)
if ($mail_transporter_name== 'smtp_message') $mail_transporter default_charset = 'UTF-8'
const DEFAULT_ENV = 'production'
if ($GLOBALS['MAIL_TRANSPORT']) else
Initial value:
{
DBManager::getInstance()->aliasConnection('studip', 'studip-slave')
static getInstance()
Definition: DBManager.class.php:88
foreach ($added_configs as $key=> $value) if (!defined('Studip\ENV')) if(!file_exists($GLOBALS['STUDIP_BASE_PATH']. '/config/config_local.inc.php')&&php_sapi_name()!== 'cli')
if ($GLOBALS['ASSETS_URL'][0]=== '/') else if(!preg_match('/^[a-z]+:/', $GLOBALS['ASSETS_URL']))
try
Initial value:
{
->setConnection('studip',
'mysql:host=' . $GLOBALS['DB_STUDIP_HOST'] .
';dbname=' . $GLOBALS['DB_STUDIP_DATABASE'] .
';charset=utf8mb4',
$GLOBALS['DB_STUDIP_USER'],
$GLOBALS['DB_STUDIP_PASSWORD'])
$GLOBALS['MVV_STGTEILVERSION']['FASSUNG_TYP']
Definition: mvv_config.php:3
static getInstance()
Definition: DBManager.class.php:88