open768 / curiosity_browser

php browser code for msss curiosity json feed
3 stars 0 forks source link

facebook include not working #23

Closed open768 closed 6 days ago

open768 commented 2 weeks ago

server was giving a error 500

open768 commented 6 days ago

added selfcheck script and it does work, but for the wrong reasons.

the 500 error is caused because the jsinc facebook.php file in jsinc is referencing a phpinc facebook.php which is populating some secret constants

This is not right as the constants are app specific and shouldnt be referenced in inc files. rather the app should inject the required constants into the javascript in header.php

open768 commented 6 days ago

completed