never_had_a_name
never_had_a_name

Reputation: 93286

bundles in symfony 1.4?

whenever i add a feature i want to have all files (php, css, js, img etc) in one folder.

i know that this bundle feature will come with symfony 2.0 but i wonder if i can have all files in one folder/plugin in symfony 1.4 cause it seems that you have to have the js/css/img in web/ folder?

thanks

Upvotes: 1

Views: 375

Answers (1)

Raise
Raise

Reputation: 2034

Once you create/install a plugin, you can use the symfony plugin:publish-assets CLI command to copy all relevant web/ content to the correct location.

Upvotes: 1

Related Questions