Hi,
In the htaccess maker it looks like you can set Cross-Origin Resource Sharing (CORS) only to -1, 0, 2.
While your code looks for:
if ($config->cors == 1) {...}
access-control-allow-origin: *
And that's what I am trying to accomplish.
Regards,
Gosling Cools