From the computer of: qmchenry
(339 recipes)
Created: Apr 06, 2008 Updated: Apr 07, 2008
To delete a symfony application, you just need to delete the application directory and the front controller scripts. For example, if your application is named 'testapp' you need to delete the following directory and all of its contents:
The front controllers are created in the web/ directory. Two are typically created for new applications, one for production and one for development. Continuing the example above, to delete the controllers for the application 'testapp' you must delete these files:
All of the files and directories referenced above are contained in the symfony installation (meaning if you have created the application, you should know where these files are). One caveat in deleting the front controller scripts: if you are deleting the first application you created or is the current default application, the production controller is named index.php instead of testapp.php. While you can delete the index.php file, this may have undesirable effects for web requests that do not explicitly reference a controller script. In this case, you can edit the web/index.php file and replace the name of the application (testapp) on the line starting define('SF_APP', with the name of the application you want to run by default.
Subscribe to the Tech-Recipes Newsletter
You can get tips like this delivered in your email every week!
We will never, ever sell your email address or spam you.
Related recipes:
Symfony: Rebuild from Schema.yml Without Loss of Data
Symfony: Troubleshooting file uploads
Symfony: Fix propel-insert-sql error: Can't connect to local MySQL server
Symfony: Add log message manually
Symfony / Propel: How to Left Join
Sponsored links
Login
Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.Search
Tech Recipes
· Home
· Mac OS X
· Solaris
· Windows
· Programming
· UNIX
· Cisco
· MySQL
· Google
· Instant messaging
· Add recipes
· Leave feedback
· Recommend us
· RSS Syndication
Hot recipes
XP: Small, Free Way to Use and Mount Images (ISO files) Without Burning Them
Make XP look like Windows Vista / Longhorn for free!
Vista: Should I Install 64-bit or 32-bit Version? (x64 vs x86)
Hacks to Beat Rapidshare Download Limits and Waiting Time
How Do I Use or Open Bin, Cue, or ISO Files?
SMS through E-Mail: Cingular, Nextel, Sprint, T-Mobile, Verizon, Virgin Mobile
MySpace Hack: View Pictures and Comments on a Private Profile
MySpace: Hack to Dowload Any Song on Myspace
Who's Online
There are currently, 1982 guest(s) and 0 member(s) that are online.
You are Anonymous user. You can register for free by clicking here
Information
Wish to advertise with us?
All logos and trademarks in this site are property of their respective owner. The comments and forum posts are property of their posters, all the rest © 2003-2007 by QD Ideas, LLC.
Users of this site are legally bound by the Terms and conditions and Disclaimer. Do not use this web site if you do not agree with these policies.
The members, admins, and authors of this website respect your privacy.
Page Generation: 0.77 Seconds
Sun Sep 7 18:16:00 2008