Date:   Friday June 14, 2002 @ 9:12
Author: matt

Update of /home/cvs/AxKit-XSP-Wiki/lib/AxKit/XSP
In directory ted.sergeant.org:/home/matt/Perl/AxKit-XSP-Wiki/lib/AxKit/XSP

Modified Files:
        Wiki.pm 
Log Message:
Added docs, changed db location to include a wiki- prefix to distinguish from other 
db's in /tmp
Log:
PR:

Index: Wiki.pm
===================================================================
RCS file: /home/cvs/AxKit-XSP-Wiki/lib/AxKit/XSP/Wiki.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -u -r1.1 -r1.2
--- Wiki.pm     2002/06/14 08:07:27     1.1
+++ Wiki.pm     2002/06/14 08:12:59     1.2
@@ -24,7 +24,7 @@
     my ($dbpath, $dbname, $page, $action) = @_;
     
     my $db;
-    $db = DBI->connect('DBI:SQLite:dbname='. $dbpath . '/' . $dbname . '.db',
+    $db = DBI->connect('DBI:SQLite:dbname='. $dbpath . '/wiki-' . $dbname . '.db',
                       '', '', { AutoCommit => 0, RaiseError => 1 }
                       );
     
@@ -106,7 +106,7 @@
 sub save_page {
     my ($dbpath, $dbname, $page, $contents) = @_;
     
-    my $db = DBI->connect('DBI:SQLite:dbname='. $dbpath . '/' . $dbname . '.db',
+    my $db = DBI->connect('DBI:SQLite:dbname='. $dbpath . '/wiki-' . $dbname . '.db',
                       '', '', { AutoCommit => 0, RaiseError => 1 }
                       );
 
@@ -140,3 +140,33 @@
 1;
 
 __END__
+
+=head1 NAME
+
+AxKit::XSP::Wiki - An AxKit XSP based Wiki clone
+
+=head1 SYNOPSIS
+
+Follow the instructions in README for installation
+
+=head1 DESCRIPTION
+
+There's not much to say about Wiki's. They're kind cool, writable web sites.
+
+This module implements a wiki that uses (at the moment) POD for it's
+editing language.
+
+At the moment there's no version control, user management, search, recent
+edits, or pretty much any of the normally expected Wiki-type stuff. But it
+will come, eventually.
+
+=head1 AUTHOR
+
+Matt Sergeant, [EMAIL PROTECTED]
+
+=head1 LICENSE
+
+This is free software. You may use it and redistribute it under the same
+terms as perl itself.
+
+=cut
\ No newline at end of file

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to