public function getCONF() { $cname = $_SESSION['cms']; require 'integ/' . $_SESSION['cms'] . '.php'; $cls = new $cname(); $config = $cls->get_config(); return $config; } public function run_me() { $conf = $this->getCONF(); return $conf; } } $configure = new Configure(); $conf = $configure->run_me(); require 'header.php'; ?> <style type="text/css"> table.center { width:70%; margin-left:15%; margin-right:15%; } td{ text-align:right; } .zentrum{ text-align: center; }