Changeset 3169 for trunk


Ignore:
Timestamp:
Mar 3, 2009, 11:37:14 PM (15 years ago)
Author:
patdenice
Message:

User's template extension must not be included in admin pages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/template.class.php

    r3049 r3169  
    8585    $this->set_template_dir($root);
    8686
    87     if (isset($conf['extents_for_templates']))
     87    if (!defined('IN_ADMIN') and isset($conf['extents_for_templates']))
    8888    {
    8989      $tpl_extents = unserialize($conf['extents_for_templates']);
Note: See TracChangeset for help on using the changeset viewer.