user1961082
user1961082

Reputation: 1035

Symfony2 Capifony app_dev.php not found

I've deployed my Symfony2 website to an external development server, however it hasn't pulled the app_dev.php file from my github repository. app.php has been pulled and I can access the site from there but if I go to /app_dev.php I get a 404 not found because the file does not exist on the server. The file is definitely in my github repository though and is not within my .gitignore file.

Upvotes: 4

Views: 1494

Answers (1)

Elnur Abdurrakhimov
Elnur Abdurrakhimov

Reputation: 44841

Capifony removes app_*.php files for security reasons. You shouldn't use them in production.

If you really need them, you can set the clear_controllers option to false:

set :clear_controllers, false

Upvotes: 9

Related Questions