Rev 17435 | Rev 17457 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 17435 | Rev 17451 | ||
---|---|---|---|
Line 146... | Line 146... | ||
146 | fnd_line(buf[0],1,buf[1]); if(buf[1][0]==0) goto bad2; |
146 | fnd_line(buf[0],1,buf[1]); if(buf[1][0]==0) goto bad2; |
147 | force_setvar(ro_name[ro_module],buf[1]); |
147 | force_setvar(ro_name[ro_module],buf[1]); |
148 | fnd_line(buf[0],2,eparm); /* if(eparm[0]==0) goto bad2; */ |
148 | fnd_line(buf[0],2,eparm); /* if(eparm[0]==0) goto bad2; */ |
149 | exam_parm(); |
149 | exam_parm(); |
150 | } |
150 | } |
151 | 151 | get_static_session_var(); |
|
152 | /* detect open exam in other session and forbidden open a new */ |
152 | /* detect open exam in other session and forbidden open a new */ |
153 | char *pu, pbuf1[MAX_LINELEN+1]; |
153 | char *pu, pbuf1[MAX_LINELEN+1]; |
154 | if(pc==NULL) pc=getvar("wims_class"); |
154 | if(pc==NULL) pc=getvar("wims_class"); |
155 | if(pc==NULL) pc=""; |
155 | if(pc==NULL) pc=""; |
156 | pu=getvar("wims_user"); if(pu==NULL) pu=""; |
156 | pu=getvar("wims_user"); if(pu==NULL) pu=""; |