kayue / WordpressBundle

THIS PROJECT IS DEPRECATED AND WILL NOT BE MAINTAINED ANYMORE.
48 stars 14 forks source link

Installation path syntax #14

Open rvanlaak opened 11 years ago

rvanlaak commented 11 years ago

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?

rvanlaak commented 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

mrtorrent commented 11 years ago

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.

rvanlaak commented 11 years ago

Should't a relative path always be in favor of an absolute path? In my opinion it does..

mrtorrent commented 11 years ago

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.