關於 source_dir and public_dir 自動配置 #504

Closed
wants to merge 1 commit into
from

Conversation

1 participant
Contributor

chenall commented Feb 28, 2014

為了更方便的支持多站點,當source_dirpublic_dir 留空時自動根據配置文件的位置設置這兩個路徑。

比如demo站點的配置文件在demo目錄下並且source_dir和public_dir.的配置為空
這時對應的
source_dir = demo/source
public_dir = demo/public

這樣子比較靈活,另外保持了兼容性,只有當配置值為空時才會自動配置。

chenall closed this Mar 17, 2014

chenall deleted the unknown repository branch Mar 17, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment