Ignore:
Timestamp:
2014/04/18 01:56:55 (8 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_SmartphoneView.php

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