Hi,<br><br>Maybe  I describe my trouble not clear. I had a web site with a lot of dynamic .kl1 pages, and my task was showing to user&#39;s browser .html pages, not .kl1. I found a solution for that problem -- I fixed one line in translat.c file:<br>
<br>static int is_a_script(const char *filename)<br>{<br>  static const char *script_ext[] = { <br>  &quot;.klone&quot;, &quot;.kl1&quot;, &quot;.klc&quot;, <br>  &quot;.klx&quot;, /* C++ page */ <br>  &quot;.html&quot;, /* my code */<br>
  NULL <br>  };<br>  const char **ext;<br><br>...<br><br>It works well -- now I have a .html files with C code :)<br>I know that better way is change config filet but I can&#39;t find info about adding new built-in extensions to klone. In line 267 of translat.c file I found that text:<br>
<br>    /* should choose the right translator based on file extensions or config */<br>    if(is_a_script(pti-&gt;file_in))<br>    {<br>    ...<br><p>But I can&#39;t find any call of functions that have deal with config file, so I think that changing built-in script extensions via config files does not implemented yet. I use klone v.2.1.1</p>
<p></p><p>PS. </p><p>Sorry for my bad English :)</p><p>Alex</p>