347b976dee
git-svn-id: http://yolanda.mister-muffin.de/svn@34 7eef14d0-6ed0-489d-bf55-20463b2d70db
20 lines
341 B
Perl
20 lines
341 B
Perl
#!/usr/bin/perl
|
|
|
|
use CGI qw(:standard);
|
|
use CGI::Session;
|
|
use DBI;
|
|
use XML::Simple qw(:strict);
|
|
use Digest::SHA;
|
|
|
|
$gnutube_root = '/var/www/gnutube';
|
|
|
|
use lib qw(/var/www/gnutube);
|
|
#use Digest::SHA qw(sha256_hex);
|
|
|
|
#set global variables
|
|
$database = 'gnutube';
|
|
$dbhost = 'localhost';
|
|
$dbuser = 'root';
|
|
$dbpass = '';
|
|
$session_name = 'sid';
|
|
1;
|