Ignore:
Timestamp:
04/12/16 18:32:17 (8 years ago)
Author:
Kris Deugau
Message:

/trunk

Add a hack to slurp the DB connect info from MyIPDB.pm in db-update.pl,
so we don't have to maintain the info twice and make a mess of it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/MyIPDB.pm

    r839 r844  
    2222# DB host is optional.
    2323my $dbhost = 'localhost';
     24##fixme:  need better way to export the variables above for db-update
     25sub dbname { $dbname }
     26sub dbuser { $dbuser }
     27sub dbpass { $dbpass }
     28sub dbhost { $dbhost }
    2429
    2530# ACL for RPC shim.  A hash of arrays;  the hash keys are the remote system
Note: See TracChangeset for help on using the changeset viewer.