|
|
|
@ -12,8 +12,19 @@ define ('CACHEDIR', HOME . 'cache/'); |
|
|
|
define ('LOCALEDIR', HOME . 'locale/'); |
|
|
|
|
|
|
|
/* diese Pfade als URLS */ |
|
|
|
switch ($_SERVER["HTTP_HOST"]) |
|
|
|
{ |
|
|
|
// Georgs Testumgebung
|
|
|
|
case 'georgs_test': |
|
|
|
define ('BASEURL', "http://". $_SERVER['SERVER_NAME'] . "/"); |
|
|
|
define ('BASESURL', "https://". $_SERVER['SERVER_NAME'] . "/"); |
|
|
|
break; |
|
|
|
|
|
|
|
// Evolver
|
|
|
|
default: |
|
|
|
define ('BASEURL', "http://localhost/~georg/bilder/"); |
|
|
|
define ('BASESURL', "https://localhost/~georg/bilder/"); |
|
|
|
} |
|
|
|
|
|
|
|
define ('IMGURL', BASEURL . 'img/'); |
|
|
|
define ('LIBURL', BASEURL . 'libs/'); |
|
|
|
|