issuetracker:template

This is an old revision of the document!


Templating

How will it work?

Current Idea

Code:

  1. we need to determine what bug tracker templates to use - $bugtracker = array_shift(explode(“.”,$_SERVER['HTTP_HOST'])); - lets check to see if those templates exist
  2. $template = is_dir($_SERVER['DOCUMENT_ROOT'] . '../template/' . $bugtracker . '/') ? $_SERVER['DOCUMENT_ROOT'] . '../template/' . - $bugtracker . '/' : 'php';
issuetracker/template.1213038626.txt.gz · Last modified: 2017/09/22 13:28 (external edit)