Subversion Repositories wimsdev

Rev

Rev 12555 | Rev 14336 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

!if $wims_ismanager>1
 !exit
!endif
auth=!record 0 of wimshome/$wims_sesdir/auth.supervisor
auth=!trim $auth
!if $auth!=yes
  sec=!defof class_secure in wimshome/log/classes/$wims_class/.def
  sec=!trim $sec
  htest=!checkhost $sec
  !if $wims_sup_secure<0 or ($sec!=$empty and $htest<1) or\
         ($sec=$empty and $auth=no)
    error=not_secure
    !exit
  !endif
  !if $sec=$empty and $auth=$empty
    jobt=auth
    !!!!!!
    !!##FIXME auth.proc was in the module (class/config)
    !! the present file is also used in public_html/modules/adm/class/gateway/var.proc
    !! and so one can not enter in the portal gestion by mail send (need word all or an IP)
    !! but some other files should also be moved :
    !! class/config/scripts/mail.phtml
    !! class/config/lang/mail.phtml.$lang
    !! to do after the release.
    !!!!!!
    !read auth.proc
    !if $auth=yes
      jobt=list
    !endif
    !if $auth=no
      error=not_secure
      !exit
    !endif
    !if $auth=$empty
      !exit
    !endif
  !endif
!endif