isDot()) { continue; } $name = $file_info->getFilename(); if ($name == $defaults || !preg_match('/^fgcf_\w*\.php$/', $name, $matches)) { continue; } require_once $name; // will define $view and $handler $views[$view->name] = $view; unset($view, $handler); } return $views; }