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