Searched hist:c4766956646b53ab644ec6ddbd17d9cba07cf872 (Results 1 – 2 of 2) sorted by relevance
| /dokuwiki/inc/ |
| H A D | init.php | c4766956646b53ab644ec6ddbd17d9cba07cf872 Mon Jan 30 19:38:41 UTC 2012 Andreas Gohr <andi@splitbrain.org> DOKU_TPL* considered harmful
Some plugins want to dynamically switch the template based on users, namspaces or the phase of the moon. Having fixed paths in a unchangable constant prevents this.
This changes deprecates the DOKU_TPL* constants in favor of two new tpl_* functions that return the correct paths based on the $conf variables which can be changed from the DOKUWIKI_STARTED event.
|
| H A D | template.php | c4766956646b53ab644ec6ddbd17d9cba07cf872 Mon Jan 30 19:38:41 UTC 2012 Andreas Gohr <andi@splitbrain.org> DOKU_TPL* considered harmful
Some plugins want to dynamically switch the template based on users, namspaces or the phase of the moon. Having fixed paths in a unchangable constant prevents this.
This changes deprecates the DOKU_TPL* constants in favor of two new tpl_* functions that return the correct paths based on the $conf variables which can be changed from the DOKUWIKI_STARTED event.
|