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_MobileView.php

    r23124 r23370  
    3333        parent::init(); 
    3434 
    35         $this->_smarty->template_dir = MOBILE_TEMPLATE_REALDIR; 
    36         $this->_smarty->compile_dir = MOBILE_COMPILE_REALDIR; 
     35        $this->_smarty->template_dir = realpath(MOBILE_TEMPLATE_REALDIR); 
     36        $this->_smarty->compile_dir = realpath(MOBILE_COMPILE_REALDIR); 
    3737        $this->assignTemplatePath(DEVICE_TYPE_MOBILE); 
    3838    } 
Note: See TracChangeset for help on using the changeset viewer.