Changeset 725
- Timestamp:
 - Apr 9, 2008, 11:44:14 PM (18 years ago)
 - File:
 - 
          
- 1 edited
 
- 
          locker/deploy/bin/wordpress (modified) (2 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
        
locker/deploy/bin/wordpress
r476 r725 3 3 use lib '/mit/scripts/deploy/bin'; 4 4 use onserver; 5 use DBI; 5 6 6 7 setup(); … … 29 30 } 30 31 32 my $dbh = DBI->connect("dbi:mysql:database=$sqldb;host=$sqlhost", $sqluser, $sqlpass); 33 $dbh->do("update wp_options set option_value = ? where option_name = 'siteurl'", 34 {}, "/~$USER/$addrend"); 35 $dbh->do("update wp_options set option_value = ? where option_name = 'home'", 36 {}, "http://$USER.$server/$addrend"); 37 $dbh->disconnect; 38 31 39 print_login_info(); 32 40 print "You will also receive this login information at your MIT email address.\n";  
Note: See TracChangeset
          for help on using the changeset viewer.
      