function __construct() { if (Funcs::$uri[1] == '') { $tree = Tree::getTreeByUrl(Funcs::$uri[0]); Funcs::setMeta($tree); $tree['list'] = Compare::getCompare(); View::render('compare/list', $tree); } }