projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
836e20f
)
argh
author
ivan
<ivan>
Thu, 26 Apr 2001 02:28:40 +0000
(
02:28
+0000)
committer
ivan
<ivan>
Thu, 26 Apr 2001 02:28:40 +0000
(
02:28
+0000)
fs_webdemo/registerd.Pg
patch
|
blob
|
history
diff --git
a/fs_webdemo/registerd.Pg
b/fs_webdemo/registerd.Pg
index
6f882da
..
b1409a9
100755
(executable)
--- a/
fs_webdemo/registerd.Pg
+++ b/
fs_webdemo/registerd.Pg
@@
-1,6
+1,6
@@
#!/usr/bin/perl -w
#
#!/usr/bin/perl -w
#
-# $Id: registerd.Pg,v 1.
8 2001-04-26 02:23:27
ivan Exp $
+# $Id: registerd.Pg,v 1.
9 2001-04-26 02:28:40
ivan Exp $
use strict;
use vars qw(
use strict;
use vars qw(
@@
-85,7
+85,7
@@
while ( 1 ) {
my $username = $row->{'username'};
my $email = $row->{'passwd'};
my $username = $row->{'username'};
my $email = $row->{'passwd'};
- my $pdbh = DBI->connect( 'DBI:Pg:host=localhost;d
atabas
e=demo_template', 'freeside', 'maelcolm' )
+ my $pdbh = DBI->connect( 'DBI:Pg:host=localhost;d
bnam
e=demo_template', 'freeside', 'maelcolm' )
or do { &myerr("$username: ". $DBI::errstr); next; };
my $psth = $pdbh->prepare("CREATE DATABASE demo_$username")
or do { &myerr("$username: ". $DBI::errstr); next; };
my $psth = $pdbh->prepare("CREATE DATABASE demo_$username")