Package: pnopaste / 1.4-5

01-use-debiandb.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Use the Debian database settings.

diff -Naur pnopaste-1.2.orig/conf/SQL_Access.pm pnopaste-1.2/conf/SQL_Access.pm
--- pnopaste-1.2.orig/conf/SQL_Access.pm	2009-04-13 10:00:03.000000000 +0200
+++ pnopaste-1.2/conf/SQL_Access.pm	2009-04-13 10:02:05.000000000 +0200
@@ -1,16 +1,16 @@
 package SQL_Access;
 
-use warnings;
-use strict;
-
+#use warnings;
+#use strict;
+use conf::debiandb;
 
 # DBI driver (we only support officaly mysql at the moment!).
-our $Driver = 'mysql';
+our $Driver = $dbtype;
 
 # SQL Access.
-our $Hostname = 'localhost';
-our $Database = 'pnopaste';
-our $Username = 'pnopaste';
-our $Password = 'INSERT_PW';
+our $Hostname = $dbserver;
+our $Database = $dbname;
+our $Username = $dbuser;
+our $Password = $dbpass;
 
 1;