Subversion Repositories wimsdev

Rev

Rev 16173 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2497 bpr 1
 
5254 bpr 2
wims_maintainer=wimsdev@groupes.renater.fr
2826 bpr 3
wims_prefix=class mb user DF mu
23 reyssat 4
wims_prefix2=$wims_prefix
2826 bpr 5
!readdef wimshome/log/wims.conf
3047 bpr 6
!readdef wimshome/public_html/bases/sys/defaults.conf
23 reyssat 7
 
8
!if $job=tohttps
15421 bpr 9
  test=!defof manager_site in wimshome/log/wims.conf
10
  test1=!checkhost $test
11
  !if $httpd_REMOTE_ADDR=127.0.0.1 or ($test!=$empty and $test1=1)
23 reyssat 12
  newbase=!replace internal http:// by https:// in $wims_ref_name
13
  !shortout Status: 302 Moved Temporarily\
14
Content-Type: text/plain\
15
Location: $newbase?module=$module\
16
\
17
empty
18
 !endif
19
!endif
20
 
21
!if $wims_ismanager=2
15421 bpr 22
  knowims_test=!record 0 of wimshome/knowims-hd-install
23
  !bound job within conf,list,attrib,mkindex,class,modules,upload,\
24
	  developer,activ,sess,update,backup,restore,fs,file,access,bestclass,\
16173 guerimand 25
	  swac,otherdownload,rss,sendmail, classrestore,optionalmod,geolocoption,\
26
	  motd default list
23 reyssat 27
!else
15421 bpr 28
  job=!item $wims_ismanager+3 of badconf,badconf,no_right,auth
23 reyssat 29
!endif
2497 bpr 30
 
23 reyssat 31
!if $cmd iswordof help
15421 bpr 32
  !read adm/language lang/names.phtml
33
  !if $help_subject=conf
34
    !readdef wimshome/public_html/bases/sys/defaults.conf
35
  !endif
36
  !exit
23 reyssat 37
!endif
38
 
39
!if $job=conf and $abandon!=$empty
15421 bpr 40
  job=list
23 reyssat 41
!endif
5181 guerimand 42
!read adm/language lang/names.phtml
23 reyssat 43
!read tabletheme
44
!read $job.proc