Movable Type 環境変更

MTのディレクトリやデータベース名などを変更した場合の環境設定変更方法。


探したので、メモ。


てっきり、 xx.conf とか xx.ini とかだと思って探していたら (先入観は良くない)、ここにあった → cgi-bin/mt/mt-config.cgi

## Movable Type Configuration File
##
## This file defines system-wide
## settings for Movable Type. In 
## total, there are over a hundred 
## options, but only those 
## critical for everyone are listed 
## below.
##
## Information on all others can be 
## found at:
##  http://www.movabletype.jp/documentation/config

#======== REQUIRED SETTINGS ==========

CGIPath        /xxx/ ← ★
StaticWebPath  /xxx/ ← ★
StaticFilePath /xxx ← ★

#======== DATABASE SETTINGS ==========

ObjectDriver DBI::mysql
Database xxx ← ★
DBUser xxx ← ★
DBPassword xxx ← ★
DBHost localhost

#======== MAIL =======================

MailTransfer sendmail
SendMailPath /usr/sbin/sendmail