index.php
changeset 14 2a78703d3c2d
parent 10 2a05edf9dc87
child 18 846026b8422b
--- a/index.php	Wed Oct 26 16:00:14 2011 +0200
+++ b/index.php	Wed Oct 26 16:01:21 2011 +0200
@@ -15,7 +15,8 @@
 }
 
 try {
-	$abook = new Address_Book_File(FILE);
+	//$abook = new Address_Book_DB("mysql:host=localhost;dbname=abook", "hans", "x");
+	$abook = new Address_Book_DB("sqlite:var/abook.sqlite");
 	switch (@$_REQUEST['action']) {
 		case 'add':	$abook->add_entry($_REQUEST);
 					break;