diff -r 9a001a04b634 -r 879f0956be86 index.php --- a/index.php Tue Oct 25 23:56:28 2011 +0200 +++ b/index.php Wed Oct 26 00:15:59 2011 +0200 @@ -6,9 +6,9 @@ const FILE = "var/abook.txt"; -if ($_REQUEST) { +if (isset($_REQUEST['action'])) { require 'addressbook.class.php'; - $abook = new AddressBook(FILE); + $abook = new Address_Book_File(FILE); switch (@$_REQUEST['action']) { // Nach dem Eintragen bleiben wir auf der Eintragsseite,