Ignore:
Timestamp:
2008/09/22 14:30:32 (18 years ago)
Author:
nakanishi
Message:

インストール時にパーミッションエラーになってしまう問題を修正。
ディレクトリ作成時にumaskの影響を受けるので、umask(0)として対応する。
#185など

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2/data/class/SC_Initial.php

    r17540 r17622  
    176176    function createCacheDir() { 
    177177        if (defined("HTML_PATH")) { 
    178             if (!file_exists(COMPILE_DIR)) { 
     178            umask(0); 
     179            if (!file_exists(COMPILE_DIR)) { 
    179180                mkdir(COMPILE_DIR); 
    180181            } 
Note: See TracChangeset for help on using the changeset viewer.