Subversion Repositories wimsdev

Rev

Rev 2996 | Rev 3019 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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