IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 4873 for trunk/Nebulous/t/conf


Ignore:
Timestamp:
Aug 24, 2005, 3:40:04 PM (21 years ago)
Author:
jhoblitt
Message:

rename Nebulous::Server->setup() -> Nebulous::Server->init()
add config params to Nebulous::Server->init()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous/t/conf/startup.pl.in

    r4440 r4873  
    11use strict;
     2use warnings FATAL => qw( all );
    23
    34use Apache::DBI;
     
    67use Nebulous::Server;
    78
    8 my $dsn     = "DBI:mysql:database=test:host=localhost";
    9 my $dbuser  = "test";
    10 my $dbpass  = "";
     9my $dsn         = "DBI:mysql:database=test:host=localhost";
     10my $dbuser      = "test";
     11my $dbpasswd    = "";
    1112
    12 Apache::DBI->connect_on_init( $dsn, $dbuser, $dbpass );
    13 Nebulous::Server->setup( $dsn, $dbuser, $dbpass );
     13Apache::DBI->connect_on_init( $dsn, $dbuser, $dbpasswd );
     14Nebulous::Server->init(
     15    dsn         => $dsn,
     16    dbuser      => $dbuser,
     17    dbpasswd    => $dbpasswd,
     18    log_level   => 'all',
     19);
    1420
    15211;
    16 
Note: See TracChangeset for help on using the changeset viewer.