shannah / xataface

Framework for building data-driven web applications in PHP and MySQL
http://xataface.com
GNU General Public License v2.0
138 stars 58 forks source link

Corrected typo in blob.php (read_file vs readfile) #91

Closed felixchenier closed 6 years ago

felixchenier commented 6 years ago

Hello Steve

First let me thank you for the development of this wonderful tool that is xataface. It saves me so much time for building my database interfaces, it's very, very appreciated.

I think I've found a bug in blob.php, when using the "secure = 1" flag in fields.ini. The php logs reveals that read_file is not a recognized function. I'm not that good in php but by changing it to readfile, it works like a charm. Therefore maybe it only was a typo.

Anayway, here is a pull request to integrate this change if it's okay for you.

Thanks again, Félix Chénier

shannah commented 6 years ago

Thanks