Subversion Repositories wimsdev

Rev

Rev 3019 | Rev 3030 | 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
3019 guerimand 13
mu_publishsitesw=!sh cd $wims_home/public_html/bases/sys/publishcenter/;\
14
grep publishcenter=yes * | cut -d":" -f1
15
mu_publishsitesw=!lines2items $mu_publishsitesw
16
mu_downloadsites=!filelist $wims_home/public_html/bases/sys/publishcenter
17
mu_downloadsites=!lines2items $mu_downloadsites
23 reyssat 18
 
19
!if $job=tohttps
20
 test=!defof manager_site in wimshome/log/wims.conf
21
 test1=!checkhost $test
22
 !if $httpd_REMOTE_ADDR=127.0.0.1 or ($test!=$empty and $test1=1)
23
  newbase=!replace internal http:// by https:// in $wims_ref_name
24
  !shortout Status: 302 Moved Temporarily\
25
Content-Type: text/plain\
26
Location: $newbase?module=$module\
27
\
28
empty
29
 !endif
30
!endif
31
 
32
!if $wims_ismanager=2
33
 knowims_test=!record 0 of wimshome/knowims-hd-install
34
 !bound job within conf,list,attrib,mkindex,class,modules,upload,\
495 bpr 35
	developer,activ,sess,update,backup,restore,fs,file,access,bestclass,\
2845 guerimand 36
	swac,otherdownload,rss,sendmail\
23 reyssat 37
	default list
38
!else
39
 job=!item $wims_ismanager+3 of badconf,badconf,no_right,auth
40
!endif
2497 bpr 41
 
23 reyssat 42
!if $cmd iswordof help
2497 bpr 43
!read adm/language names.phtml
23 reyssat 44
 !if $help_subject=conf
45
  !readdef wimshome/src/defaults.conf
46
 !endif
47
 !exit
48
!endif
49
 
50
!if $job=conf and $abandon!=$empty
51
 job=list
52
!endif
2497 bpr 53
!read adm/language names.phtml
23 reyssat 54
!read tabletheme
55
!read $job.proc
56