|
Revision 27, 312 bytes
(checked in by alexx, 6 years ago)
|
- Add support for .node album in Meta album (not usefull for dotnode.com user, but good for other "Open .node" installation that want to import dotnode.com album)
- Add REST api to access .node Album (must be extented later with other module of .node)
- Add forgotten icons for meta album
- Add dPics scripts to automagicaly resize requested image with size put in his url (<dpics script>/500x400/<file_path>.jpg => give you <file_path>.jpg in 500x400)
|
| Line | |
|---|
| 1 | #!/bin/sh |
|---|
| 2 | |
|---|
| 3 | rm -fr smarty/templates_c/* |
|---|
| 4 | rm -fr smarty/cache/* |
|---|
| 5 | rm -fr data/*/?? |
|---|
| 6 | rm -fr data/*/thumb/?? |
|---|
| 7 | rm -fr data/*/sized/* |
|---|
| 8 | rm -fr sessions/* |
|---|
| 9 | :> log/* |
|---|
| 10 | |
|---|
| 11 | if [ -e data.tar.gz ]; then |
|---|
| 12 | tar xzf data.tar.gz |
|---|
| 13 | fi |
|---|
| 14 | |
|---|
| 15 | chmod 707 smarty/templates_c |
|---|
| 16 | chmod 707 smarty/cache |
|---|
| 17 | chmod -R 707 log |
|---|
| 18 | chmod 707 sessions |
|---|
| 19 | chmod -R 707 data |
|---|
| 20 | |
|---|