產生的 Doc 檔出現錯誤
1. timezone
雖然在 php.ini 裡設定了,但是還是沒用,所以直接到發生問題的檔案裡處理:
[php安裝目錄]\PhpDocumentor\phpDocumentor\Smarty-2.6.0\libs\Smarty_Compiler.class.php
在370行附近,應該可以看到:
strftime("%Y-%m-%d %H:%M:%S")
這在一行之前,加上:
date_default_timezone_set("Asia/Taipei");
不同時區自行修改 "Asia/Taipei" 內容。
2.編碼問題
將 [pear 安裝目錄]\data\PhpDocumentor\phpDocumentor\Converters
底下所有檔案拖曳到 Notepad++ 中(檔案多,要等一下),將所有文件中的「iso-8859-1」取代為「utf-8」即可。
沒有留言:
張貼留言