issuetracker:template

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
issuetracker:template [2008/06/09 21:37] barrycarlyonissuetracker:template [2008/06/10 12:56] barrycarlyon
Line 4: Line 4:
  
 KISS KISS
 +
 +
  
 ===== Current Idea ===== ===== Current Idea =====
Line 13: Line 15:
   2. $bugtracker = array_shift(explode(".",$_SERVER['HTTP_HOST']));   2. $bugtracker = array_shift(explode(".",$_SERVER['HTTP_HOST']));
   3. //lets check to see if those templates exist   3. //lets check to see if those templates exist
-  4. $template = is_dir($_SERVER['DOCUMENT_ROOT'] . '../template/' . $bugtracker . '/') ? $_SERVER['DOCUMENT_ROOT'] . '../template/' .  - $bugtracker . '/' : 'php';+  4. $template = is_dir($_SERVER['DOCUMENT_ROOT'] . '../template/' . $bugtracker) ? $bugtracker : 'php';
  
 +The Variables generated can then be used later for alternative stylesheet loading, and/or different content/template file loading.
 +Via Includes.
issuetracker/template.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1