Updated code to new session/app/req/res object layout.

This commit is contained in:
hns 2002-05-31 14:14:37 +00:00
parent 0e9738e95d
commit 32d2230ef5
6 changed files with 36 additions and 37 deletions

View file

@ -1,8 +1,8 @@
if ( checkAddress()==false ) return;
if ( checkAuth(this)==false ) return;
res.body = this.renderSkinAsString("main");
res.skin = "api";
res.title = "Application " + this.name;
res.data.body = this.renderSkinAsString("main");
res.data.title = "Application " + this.name;
renderSkin("api");