Open astro75 opened 10 years ago
Got it working. The first fix is in the minject library. Replaced all occurrences of
#if (flash9 || cpp || java)
With
#if (flash9 || cpp || java || php)
Second fix is in ufront-mvc https://github.com/ufront/ufront-mvc/blob/master/src/php/ufront/web/context/HttpRequest.hx#L222
scriptDirectory = untyped __php__('dirname($_SERVER["SCRIPT_FILENAME"])') + "/";
should be
scriptDirectory = untyped __php__("dirname($_SERVER['SCRIPT_FILENAME'])") + "/";
Hi
I honestly haven't tested it on PHP, as I haven't even had time to finish the sample app on Neko... Sorry!
Thanks for looking into this. I'll fix up ufront-mvc and create an issue for minject.
If you discover any other fixes let me know On 14/10/2013 6:47 AM, "astro75" notifications@github.com wrote:
Got it working. The first fix is in the minject library. Replaced all occurrences of
if (flash9 || cpp || java)
With
if (flash9 || cpp || java || php)
Second fix is in ufront-mvc
https://github.com/ufront/ufront-mvc/blob/master/src/php/ufront/web/context/HttpRequest.hx#L222
scriptDirectory = untyped php('dirname($_SERVER["SCRIPT_FILENAME"])') + "/";
should be
scriptDirectory = untyped php("dirname($_SERVER['SCRIPT_FILENAME'])") + "/";
— Reply to this email directly or view it on GitHubhttps://github.com/jasononeil/ufblog/issues/3#issuecomment-26229034 .
Is this supposed to work on php? I get the folowing error
Error without db transactions: