Open rvanlaak opened 11 years ago
I figured it out by searching the correct path in the phpinfo() file. Shouldn't it be better to make this path dependent on the Symfony root directory? Or, maybe easier: add examples, like:
%kernel.root_dir%/../web %kernel.root_dir%/../../public_html/test
How does Symfony handle paths like this as standard? Relative to the root directory? The config file? The current script file? We should follow that convention if we don't already.
Using the %kernel.root_dir% with a relative path appended should work as-is.
The readme example suggests using an absolute path, but if you think it is unclear feel free to send a pull request.
Should't a relative path always be in favor of an absolute path? In my opinion it does..
We're a Symfony bundle, so we should follow whatever their convention is. On Feb 16, 2013 6:25 PM, "Rvanlaak" notifications@github.com wrote:
Should't a relative path always be in favor of an absolute path? In my opinion it does..
— Reply to this email directly or view it on GitHubhttps://github.com/kayue/WordpressBundle/issues/14#issuecomment-13676958.
I've deployed my application to my test-environment, but now I'm stuck on the configuration of the hypebeast_wordpress - wordpress_path. Can you please let me know or this path can be relative or not?