Changeset 2824 for trunk/include/common.inc.php
- Timestamp:
- Nov 4, 2008, 2:47:48 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/common.inc.php
r2770 r2824 144 144 145 145 // template instance 146 if 147 ( 148 defined('IN_ADMIN') and IN_ADMIN 149 ) 150 { 151 // Admin template 152 //$template = new Template(PHPWG_ROOT_PATH.'template/'.$user['admin_template'], $user['admin_theme'] ); 146 if ( defined('IN_ADMIN') and IN_ADMIN ) 147 {// Admin template 153 148 list($user['admin_template'], $user['admin_theme']) = 154 149 explode ('/', $conf['admin_layout']); … … 157 152 } 158 153 else 159 { 160 // Classic template 154 { // Classic template 161 155 $template = new Template(PHPWG_ROOT_PATH.'template/' 162 156 . $user['template'], $user['theme'] );
Note: See TracChangeset
for help on using the changeset viewer.