From: <lra...@us...> - 2003-09-24 18:16:31
|
Update of /cvsroot/tikiwiki/tiki/lib/wiki In directory sc8-pr-cvs1:/tmp/cvs-serv18362/lib/wiki Modified Files: wikilib.php Log Message: Wiki pages can be cached individually. Fixed blocker in forum creation (DB abstraction issues) Index: wikilib.php =================================================================== RCS file: /cvsroot/tikiwiki/tiki/lib/wiki/wikilib.php,v retrieving revision 1.34 retrieving revision 1.35 diff -u -d -r1.34 -r1.35 --- wikilib.php 23 Sep 2003 22:05:23 -0000 1.34 +++ wikilib.php 24 Sep 2003 18:16:26 -0000 1.35 @@ -252,6 +252,15 @@ return true; } + + function set_page_cache($page,$cache) { + $query = "update `tiki_pages` set `wiki_cache`=? where `pageName`=?"; + $this->query($query, array( + $cache, + $page + )); + + } function save_notepad($user, $title, $data) { $data = addslashes($data); |