Example #1
0
 public static function guessLanguage($src, $info)
 {
     if (($html = HtmlScanner::guessLanguage($src, $info)) >= 0.2) {
         if (strpos($src, '{{') !== false || strpos($src, '{%') !== false) {
             return $html + 0.01;
         }
     }
     return 0.0;
 }