Subversion Repositories personal-webbase

Rev

Rev 9 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
9 daniel-mar 1
<?php
2
 
14 daniel-mar 3
if (!defined('WBLEGAL')) die('Kann nicht ohne Personal WebBase ausgef&uuml;hrt werden.');
9 daniel-mar 4
 
5
if ((isset($_SERVER['HTTP_HOST'])) && (isset($_SERVER['PHP_SELF'])))
6
{
7
  if ($force_ssl)
8
  {
9
    $iburl = 'https://';
10
  }
11
  else
12
  {
13
    $iburl = 'http://';
14
  }
15
  $iburl .= $_SERVER['HTTP_HOST'];
16
  $iburl .= dirname_with_pathdelimiter($_SERVER['PHP_SELF']);
17
}
18
else
19
{
20
  $iburl = '';
21
}
22
 
23
if (isset($konfiguration[$m2]['ib_system_url']))
24
{
25
  if ($konfiguration[$m2]['ib_system_url'] != $iburl)
26
  {
27
    ib_change_config('ib_system_url', $iburl, $m2);
28
  }
29
}
30
else
31
{
32
  ib_add_config('ib_system_url', $iburl, $m2);
33
}
34
 
35
?>