Skip to content

Commit

Permalink
cleaning up helpers so they are not all loaded for nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
dogmatic69 committed Feb 6, 2010
1 parent a80a85e commit 71b8782
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions app_helper.php
Expand Up @@ -26,7 +26,12 @@ class AppHelper extends Helper {

var $wysiwyg = 'fck';

var $helpers = array('Html', 'Libs.Design', 'Libs.Wysiwyg', 'Libs.Gravatar');
var $helpers = array(
'Html',
//'Libs.Design',
'Libs.Wysiwyg',
//'Libs.Gravatar'
);

/**
* create some bread crumbs.
Expand Down Expand Up @@ -147,7 +152,7 @@ function adminIndexHead($view = array(), $pagintion = array(), $filterOptions =
return $this->Design->niceBox('adminTopBar', $this->adminPageHead($view) . $massActions) . $filters;
}

function adminOtherHead($view = array(), $massActions = null) {
function adminOtherHead($view = array(), $massActions = null) {
if (empty($view)) {
$this->errors[] = 'I need the view.';
return false;
Expand Down

0 comments on commit 71b8782

Please sign in to comment.