Skip to content

Commit

Permalink
Ensure to deactivate debug output in content/treemenu, in case going …
Browse files Browse the repository at this point in the history
…through index.php instead of index_tree_menu.php
  • Loading branch information
Jérôme Vieilledent committed Aug 28, 2012
1 parent da4113f commit e969bd8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions kernel/content/treemenu.php
Expand Up @@ -13,7 +13,13 @@
define( 'MAX_AGE', 86400 );
}

// Ensure to deactivate pagelayout and debug output in case we're going through index_tree_menu.php
$Result['pagelayout'] = false;
eZDebug::updateSettings(
array(
'debug-enabled' => false
)
);

// We use aggressive browser caching by default, by manually set appropriate HTTP headers.
// This behavior can be deactivated by setting 'use-cache-headers' user parameter to false.
Expand Down

0 comments on commit e969bd8

Please sign in to comment.