changeset 5 | 879f0956be86 |
parent 3 | 6d109e3804ac |
child 6 | 48ffdc97f54b |
--- 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,