1234567891011121314151617181920212223242526 |
- /*
- Config.js
- This script handle the save and restore of the
- 1) Blog post source
- 2) Blog post release (Merged with template)
- */
- //Create the blog table if not exists
- newDBTableIfNotExists("blog");
- function getBlogPostStore(){
- return readDBItem("blog", "post-store");
- }
- function setBlogPostStore(newpath){
- return writeDBItem("blog", "post-store", newpath);
- }
- function getBlogReleasePath(){
- return readDBItem("blog", "post-release");
- }
- function setBlogReleasePath(newpath){
- return writeDBItem("blog", "post-release", newpath);
- }
|