Home »
FUDforum »
How To »
compiler.inc (?)
compiler.inc (?) [message #16900] |
Fri, 27 February 2004 19:17 |
oblomov
Messages: 12 Registered: February 2004
Karma:
|
Junior Member |
|
|
Hi,
I'm trying to use fudforum libs from outside the fudforum app and trying to understand how the API/system works.
If I have understood well there are many "includes" that are parsed before being used and where some "placeholder" (like {SQL_TABLE_PREFIX} ) are replaced with values like in a template system (and then the replaced file cached)
Actually I don't understand where this happens as it does not in fud_use, nor in any of the .t includes (usually the files to be parsed)
I'm using imsg.inc.t and imsg.edt.inc (with a simple require, not with fud_use) and the placeholder {SQL_TABLE_PREFIX}, I found that is replaced in compile_file function of commpiler.inc but couldn't find a single file that actually use this function...
Can someone please enlighten me on the overall functioning of this (for me) strange technique?
Thanks
|
|
|
Goto Forum:
Current Time: Thu Nov 28 11:02:12 GMT 2024
Total time taken to generate the page: 0.04733 seconds