Changeset 23251 for trunk/themes/elegant/themeconf.inc.php
- Timestamp:
- Jun 16, 2013, 4:22:35 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/themes/elegant/themeconf.inc.php
r23235 r23251 13 13 'local_head' => 'local_head.tpl' 14 14 ); 15 // Need upgrade? 16 global $conf; 17 include(PHPWG_THEMES_PATH.'elegant/admin/upgrade.inc.php'); 18 19 add_event_handler('init', 'set_config_values_elegant'); 20 function set_config_values_elegant() 21 { 22 global $conf, $template; 23 $config = unserialize( $conf['elegant'] ); 24 $template->assign( 'elegant', $config ); 25 } 26 15 27 ?>
Note: See TracChangeset
for help on using the changeset viewer.