dogface-dot-pro/OpenSites.cc — pull request #4 by inanimatt (2012-05-03 23:10:47+00:00)
Title: Refactor arr2csv

Replaced use of `file_put_contents()` both `fopen()` (separate ways of doing the same thing) with `fopen()` and `fputcsv()`. The latter is a safer and simpler alternative to escaping the content yourself.