changeTypeName("E:/bak/video/code/views","html","phtml");//改变文件目录下文件的后缀名functionchangeTypeName($path,$oldTypaName,$newTypeName){$path="glob://$path/*";$files=newDirectoryIterator($path);foreach($filesas$file){$fileRealPath=$file->getRealPath()...
查看全文