Categories > OpenTBS with DOCX >

How can i cheng dir to save docx in tbs

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Awadh
Date: 2012-10-30
Time: 13:54

How can i cheng dir to save docx in tbs

Hi i have download tbs demo
For make docx from templte
I and i want to chose the dir
To save docx files i make
In witch file i have to cheng ??
By: awadh
Date: 2012-10-30
Time: 23:51

Re: How can i cheng dir to save docx in tbs

ok i find how can i do it

in file  demo_merge.php

$file_name = str_replace('.','_'.$suffix.'.',$file_name);

add after it this code to save in doc file

$file_name = './doc/'.$file_name;