|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
quocbao Smarty Rookie
Joined: 30 Aug 2004 Posts: 8
|
Posted: Mon Aug 30, 2004 6:54 am Post subject: No Compile ? |
|
|
Everytime Smarty compile a template , it create a compiled file .
Can i compile a template without creating a compiled file ? |
|
Back to top |
|
messju Administrator
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
Posted: Mon Aug 30, 2004 7:20 am Post subject: |
|
|
no, this cannot be disabled. |
|
Back to top |
|
quocbao Smarty Rookie
Joined: 30 Aug 2004 Posts: 8
|
Posted: Wed Sep 01, 2004 12:31 am Post subject: |
|
|
Well , that a pity , because , sometime we don't want to make a compiled file . Hmm i think the problem can be solved using Tempory File (create a temp file and put the file content and then include it ) |
|
Back to top |
|
messju Administrator
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
Posted: Wed Sep 01, 2004 7:23 am Post subject: |
|
|
you could have a look at smarty_function_eval() in libs/plugins/function.eval.php . that one runs templates without a tempfile. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|