Changeset 1366


Ignore:
Timestamp:
Jun 18, 2006, 8:39:43 PM (18 years ago)
Author:
nikrou
Message:

small fix: problem with undefined constant in public zone.

Location:
trunk/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/common.inc.php

    r1363 r1366  
    202202// TODO : replace initial $user['template'] by $user['layout']
    203203
    204 if (IN_ADMIN)
     204if (defined('IN_ADMIN') && IN_ADMIN)
    205205{
    206206  $template_root = 'admin';
  • trunk/include/page_header.php

    r1363 r1366  
    2929// Start output of page
    3030//
    31 if (IN_ADMIN)
     31if (defined('IN_ADMIN') && IN_ADMIN)
    3232{
    3333  $template->set_rootdir(PHPWG_ROOT_PATH.'template/admin/'.$user['template']);
Note: See TracChangeset for help on using the changeset viewer.