by ramon » Mon Nov 26, 2012 8:57 am
Hello all,
We'd like to know what would be the best way to find OxS current base path.
Usually there is a defined variable for this, but we can't find it.
Something like gcwd() (which may be disabled for some reason), dirname(__FILE__) (which may or may not work properly), basedirname(), or a mix of them.
The use is planned for a plugin that needs to make a call to an include in the common header.tpl file.
If there's a proper way to "include" files, let us know, as we couldn't find anything related to this...
What we want to accomplish is add code right after the <body> tag, before the <a> tag of the header templates.
_______________________________
Ramón Martins Sodoma da Fonseca
Analista em C&T
Coordenação de Tecnologias de Informação
Instituto Brasileiro de Informação em Ciência e Tecnologia - IBICT
Ministério da Ciência e Tecnologia - MCT