Rev 12065 | Rev 12070 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 12065 | Rev 12066 | ||
---|---|---|---|
Line 69... | Line 69... | ||
69 | !endif |
69 | !endif |
70 | !endif |
70 | !endif |
71 | 71 | ||
72 | !set up_external_auth=!lowercase $up_external_auth |
72 | !set up_external_auth=!lowercase $up_external_auth |
73 | !!-------------------- photo file process management |
73 | !!-------------------- photo file process management |
74 | !if noname.file notin $wims_deposit |
74 | !if noname.file notin $wims_deposit and $wims_deposit!=$empty |
75 | type=!sh file --mime-type $wims_home/$wims_sesdir/user-deposit | awk '{print $$2}' |
75 | type=!sh file --mime-type $wims_home/$wims_sesdir/user-deposit | awk '{print $$2}' |
76 | !if image/ notin $type |
76 | !if image/ notin $type |
77 | error=badimgformat |
77 | error=badimgformat |
78 | !else |
78 | !else |
79 | size=!sh mkdir -p $wims_home/log/classes/$photodir/photoboard\ |
79 | size=!sh mkdir -p $wims_home/log/classes/$photodir/photoboard\ |