@ -175,7 +175,7 @@ Class DirScanner {
//获取文件名,不含文件后缀
private function getFilenameWithoutExtension($realpath) {
return preg_replace('/\.[a-z]+$/i', '', $this->basename($realpath));
return preg_replace('/\.[^\.]+$/i', '', $this->basename($realpath));
}
//根据路径生成目录数组