Stud.IP  5.4
install.php File Reference

Variables

 $GLOBALS ['STUDIP_BASE_PATH'] = realpath(__DIR__ . '/..')
 
if(!function_exists('_')) else
 
foreach(explode(',', $_SERVER['HTTP_ACCEPT_LANGUAGE']) as $lang) $GLOBALS ['template_factory'] = new Flexi_TemplateFactory('../templates/')
 
 $dispatch_to = ltrim(Request::pathInfo(), '/')
 
 $dispatcher = new Trails_Dispatcher( '../app', $_SERVER['SCRIPT_NAME'], 'admin/install')
 

Variable Documentation

◆ $dispatch_to

$dispatch_to = ltrim(Request::pathInfo(), '/')

◆ $dispatcher

$dispatcher = new Trails_Dispatcher( '../app', $_SERVER['SCRIPT_NAME'], 'admin/install')

◆ $GLOBALS [1/2]

$GLOBALS[ 'STUDIP_BASE_PATH'] = realpath(__DIR__ . '/..')

◆ $GLOBALS [2/2]

foreach (explode(',', $_SERVER[ 'HTTP_ACCEPT_LANGUAGE']) as $lang) $GLOBALS[ 'template_factory'] = new Flexi_TemplateFactory('../templates/')

◆ else

if (!function_exists( '_')) else
Initial value:
{
require_once 'lib/language.inc.php'