Ignore:
Timestamp:
2014/04/18 01:56:55 (10 years ago)
Author:
nanasess
Message:

fixes #2505 (Windows 版 PHP5.3.28 以降で画面が真っ白になる)

  • パスを正規化するように修正
  • Smarty 内部では DIRECTORY_SEPARATOR が使用されるため, realpath() 関数を使用する
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/SC_SiteView.php

    r23124 r23370  
    3737        parent::init(); 
    3838 
    39         $this->_smarty->template_dir = TEMPLATE_REALDIR; 
    40         $this->_smarty->compile_dir = COMPILE_REALDIR; 
     39        $this->_smarty->template_dir = realpath(TEMPLATE_REALDIR); 
     40        $this->_smarty->compile_dir = realpath(COMPILE_REALDIR); 
    4141 
    4242        $this->assignTemplatePath(DEVICE_TYPE_PC); 
Note: See TracChangeset for help on using the changeset viewer.