0

I wonder how CMS(Wordpress) know the default template and plugins to run.
Should I store the default value for template in MySQL database or just using file_put_content to store the default value for template/plugins ?
Or, is there any better way ?

2
Contributors
3
Replies
14
Views
3 Years
Discussion Span
Last Post by veedeoo
0

for the template name or style name, you can either store it in database or in xml file.

Edited by veedeoo: more info added

0

Most are using database, but I prefer storing it as xml file similar to how the symfony2 stores its AsseticBundle configurations as xml files.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.