Afficher un message
Vieux 16/03/2005, 14h34   #1
Aapo V
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Locate all files of certain filetype to a specific folder?

Hi there,

Is it possible to make so that every time a script or user calls a
script ending with ".tpl", the server would automatically search the
file from a specific folder?

eg if on /public_html/index.php I call "news.tpl" it would get the
news.tpl file from the /public_html/php/tpl/ -folder.

And the same if the news.tpl is called from
public_html/something/nothing/index.php.

I could just always use the absolute paths to the .tpl-files but I would
prefer more to skip writing the abs path every time...

-AV
  Réponse avec citation
 
Page generated in 0,05118 seconds with 9 queries