Ich glaub ich habe den Fehler gefunden richtiges einrücken hilft immer sehr gut beim Fehler suchen ;-)
Probier es einfach mal aus und lösch die Klammer unter
PHP-Code:
// config laden
require_once("config.php");
PHP-Code:
<?php /* $Id: base.php 1898 2005-04-02 08:46:05Z sb $ */
// make sure $so is set
if(!isset($so)){
trigger_error("\$so ist nicht gesetzt.");
exit;
}
// fix for cgi interface without PHP_SELF
if (substr($_SERVER['GATEWAY_INTERFACE'], 0, 3) == "CGI") {
$pos = strrpos($_SERVER['REQUEST_URI'], "?");
if ($pos === false) {
$_SERVER['PHP_SELF'] = $_SERVER['REQUEST_URI'];
} else {
$_SERVER['PHP_SELF'] = substr($_SERVER['REQUEST_URI'], 0, $pos);
}
}
// fix for apache1/cgi
$pos = strpos($_SERVER['PHP_SELF'], ".php/");
if ($pos !== false) {
// pathinfo da
if (!$_SERVER['PATH_INFO']) {
$_SERVER['PATH_INFO'] = substr($_SERVER['PHP_SELF'], $pos + 4);
}
}
// prepend our own include dirs to include path
$vals = split(PATH_SEPARATOR, ini_get('include_path'));
array_unshift($vals, realpath($so."lib"));
ini_set('include_path', join(PATH_SEPARATOR, array_unique($vals)));
unset($vals);
// config laden
require_once("config.php");
} ///////////// <------------ Wohl eine Klammer zu viel!!
// common.php so früh wie nötig laden
require_once("common.php");
MfG Pixelsetzer