Subversion Repositories wimsdev

Rev

Rev 8961 | Rev 15421 | Go to most recent revision | 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
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)
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
22
 knowims_test=!record 0 of wimshome/knowims-hd-install
23
 !bound job within conf,list,attrib,mkindex,class,modules,upload,\
495 bpr 24
	developer,activ,sess,update,backup,restore,fs,file,access,bestclass,\
14297 guerimand 25
	swac,otherdownload,rss,sendmail, classrestore,optionalmod\
23 reyssat 26
	default list
27
!else
28
 job=!item $wims_ismanager+3 of badconf,badconf,no_right,auth
29
!endif
2497 bpr 30
 
23 reyssat 31
!if $cmd iswordof help
5181 guerimand 32
 !read adm/language lang/names.phtml
23 reyssat 33
 !if $help_subject=conf
3047 bpr 34
  !readdef wimshome/public_html/bases/sys/defaults.conf
23 reyssat 35
 !endif
36
 !exit
37
!endif
38
 
39
!if $job=conf and $abandon!=$empty
40
 job=list
41
!endif
5181 guerimand 42
!read adm/language lang/names.phtml
23 reyssat 43
!read tabletheme
44
!read $job.proc