diff options
author | tailor <cygnus@janrain.com> | 2007-04-06 17:19:42 +0000 |
---|---|---|
committer | tailor <cygnus@janrain.com> | 2007-04-06 17:19:42 +0000 |
commit | a8e629caa1fd632120ceed0064e208db79311f92 (patch) | |
tree | acea9867d16ec7ceda264bdd53d44b041b2ea511 | |
parent | 152b922337a75cac3ec1614e5e6024e54e92f887 (diff) | |
download | php-openid-a8e629caa1fd632120ceed0064e208db79311f92.zip php-openid-a8e629caa1fd632120ceed0064e208db79311f92.tar.gz php-openid-a8e629caa1fd632120ceed0064e208db79311f92.tar.bz2 |
[project @ Fix table creation for sqlitestore in server example]
-rw-r--r-- | examples/server/setup.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/server/setup.php b/examples/server/setup.php index ccf8508..ebdf21f 100644 --- a/examples/server/setup.php +++ b/examples/server/setup.php @@ -481,7 +481,9 @@ function getOpenIDStore() case "SQLite": print "require_once \"Auth/OpenID/SQLiteStore.php\";\n "; - print "return new Auth_OpenID_SQLiteStore(\"".$_SESSION['store_data']['sqlite_path']."\");\n"; + print "\$s = new Auth_OpenID_SQLiteStore(\"".$_SESSION['store_data']['sqlite_path']."\");\n "; + print "\$s->createTables();\n "; + print "return \$s;\n"; break; case "MySQL": |