private function exists($dir, $template)
    {
        $path = $dir.DIRECTORY_SEPARATOR.$template;

        return file_exists($path) ? $path : false;
    }
private function exists($dir, $template)
    {
        $path = $dir.DIRECTORY_SEPARATOR.$template;

        return file_exists($path) ? $path : false;
    }
private function exists ( $ dir , $ template ) { $ path = $ dir . DIRECTORY_SEPARATOR . $ template ; return file_exists ( $ path ) ? $ path : false ; }
Check if a given template file exists in a given directory

@param  string         $dir
@param  string         $template
@return string|boolean Template full path if found, false otherwise
Check if a given template file exists in a given directory