summaryrefslogtreecommitdiff
path: root/app/views/update/apply.phtml
AgeCommit message (Collapse)Author
2014-12-11Fix french i18n for last viewsGravatar Marien Fressinaud
2014-08-10Litlle improvements (update system)Gravatar Marien Fressinaud
- Check UPDATE_FILENAME exists before applying update - Add empty line at the end of files
2014-08-10Improve update APIGravatar Marien Fressinaud
Update script must implement 4 functions: - apply_update() to perform the update (most important). Return true if all is ok, else false. - need_info_update() returns true if we need more info for update, else false. If this function always returns false, you don't need to implement following functions (but it's better to not forget) - ask_info_update() should be a HTML form to ask infos. Method must be post and action must point to _url('update', 'apply') (or leave it blank) - save_info_update() is called for POST requests (to save form from ask_info_update())