Name der Klasse * $method -> Methode die Auszuführen ist * $view -> Ansicht */ require_once 'lib/autoload.php'; require_once 'includes/config.php'; $mysql = new mysql(DATABASE_HOST, DATABASE_USER, DATABASE_PASSWORD, DATABASE_NAME); $mysql->set_charset('latin1'); if( mysqli_connect_errno() ) die("No database connection possible."); $domain = new domain(); $domain->defineConst($_SERVER['HTTP_HOST']); // Benutzer-Logins verwalten $user = new user($mysql); $feuser = new feuser($mysql); $user->isUserLoggedIn(); $feuser->isUserLoggedIn(); $netArtist = new netArtist($mysql); $netArtist->setUser($user); $netArtist->setFeUser($feuser); $netArtist->renderPage(NetArtist::getRequestValue('id')); if( TRACK_PERFORMANCE ) { $script_ende = microtime(true); $log = new log($mysql); $log->writeDuration($netArtist->getPageId(),$script_anfang,$script_ende); } $mysql->close(); ?>