LoginSignup
0
0

More than 5 years have passed since last update.

Pickles mainconf.ini に関するいろいろ

Last updated at Posted at 2014-04-07

Pickles のコンフィグ設定の詳細は以下を参照。
Pickles コンフィグ

UTF-8 以外のサイトの制作(たとえばShift-jis)

confファイルの出力エンコードを shift-jis にしておけばOK。

mainconf.ini
output_encoding = "shift_jis" ; 出力エンコード

パブリッシュ時に UTF-8 ⇒ Shift-jis に変換されるため、 制作時はすべて(HTML、CSS、JS等)UTF-8 のデータにして作業を行う。

ディレクトリインデックスの設定

mainconf.ini
directory_index = "index.html,index.asp" ; 省略するファイル名(デフォルト "index.html")

 前から順にマッチするものを検索し、indexと認識する。「,」で複数指定可。
以下のファイルで、リンク指定が /index.html となっている場合、/ に置換している。

/_PX/_FW/cores/theme.php
$path = preg_replace('/\/'.$this->px->get_directory_index_preg_pattern().'((?:\?|\#).*)?$/si','/$1',$path);




pickles.png Picklesについてはこちら

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0