Changeset 861 in ExiteCMS for trunk/includes/theme_functions.php
- Timestamp:
- 10/02/07 22:23:07 (5 years ago)
- File:
-
- 1 edited
-
trunk/includes/theme_functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/theme_functions.php
r847 r861 278 278 +-----------------------------------------------------*/ 279 279 function load_panels($column) { 280 global $db_prefix, $locale, $settings, $userdata, $template _panels;280 global $db_prefix, $locale, $settings, $userdata, $template, $template_panels; 281 281 282 282 // parameter validation and processing … … 417 417 mysql_close(); 418 418 419 // and flush any output remaining 420 ob_end_flush(); 421 422 // check if we have had query debugging active 419 // check if we have had query debugging active. If so, display the result just before the footer panel(s) 423 420 if (is_array($_db_logs) && count($_db_logs)) { 424 421 $template->assign('queries', $_db_logs); 425 422 $template->display('_query_debug.tpl'); 426 423 } 424 425 echo "</body>\n</html>\n"; 426 427 // and flush any output remaining 428 ob_end_flush(); 427 429 } 428 430
Note: See TracChangeset
for help on using the changeset viewer.
