php - Smarty Compile path returns wrong result due to DIRECTORY_SEPARATOR in windows -


hi have moved smarty project linux machine windows machine , getting wrong result compile path

c:/xampp/htdocs/smarty/templates_c\%%45^45e^45e480cd%%index.tpl.php 

i checked , found issue in ths part

templates_c\%%45^45e^45e480cd%%index.tpl.php 

the directy sperator \so path failing .

i checked in function in smarty

 function _get_auto_filename($auto_base, $auto_source = null, $auto_id = null)     {         $_compile_dir_sep =  $this->use_sub_dirs ? directory_separator : '^';         $_return = $auto_base . directory_separator; 

directory_separator returning \ .

is there palce change directory_separator globally / or there other solution . :)

thank in advance .


Comments