]> git.plutz.net Git - serve0/commitdiff
fix taglist generation
authorpaul <paul@plutz.net>
Mon, 22 Sep 2014 00:32:13 +0000 (00:32 +0000)
committerpaul <paul@plutz.net>
Mon, 22 Sep 2014 00:32:13 +0000 (00:32 +0000)
svn path=/trunk/; revision=13

actions/meta.sh
actions/multitag.sh
index.cgi

index 605d8099d6c2b20720d4f31003984e070d5996dc..6de9f3890db1b8f77c9fbca22dd464a45d34fc9a 100755 (executable)
@@ -32,11 +32,12 @@ done
   rm ${_DATA}/cache/\?* 2>/dev/null
 else
   echo -e "$length\t$width\t$height\t$info" > "$file"
-  echo -e "${tagacc}${tags}" |tr '\n' '|' >> "$file"
+  echo -e "${tagacc}|${tags}" |tr '\n' '|' >> "$file"
   echo >>"$file"
   echo -e "${description}" >> "$file"
   rm "${_DATA}/cache/$info.cache" 2>/dev/null
   rm ${_DATA}/cache/\?* 2>/dev/null
+  rm ${_DATA}/cache/taglist 2>/dev/null
 fi
 
 echo -n "Location: ?i=&p=${page}&s=${search}&f=${filter}&o=${order}#$info\n\n"
index c1f27c76eced67935c91751b587481bb3c8ad917..fcf56d95268ce2f5bd8c2a6ebb85b9da54ebba92 100755 (executable)
@@ -50,5 +50,6 @@ done
 fi
 
 rm "${_DATA}"/cache/\?* 2>/dev/null
+rm "${_DATA}"/cache/taglist 2>/dev/null
 
 echo -n "Location: ?o=$order&s=$search&f=$filter&p=$page#$info\n\n"
index d17b4c3f6815823bc828e054916b2e1b9ef587e9..ec7572914a9d8f3bfbb6b1cf8d1925b1099936c9 100755 (executable)
--- a/index.cgi
+++ b/index.cgi
@@ -17,7 +17,7 @@
 # You should have received a copy of the GNU Affero General Public License
 # along with Serve0.  If not, see <http://www.gnu.org/licenses/>. 
 
-export LC_ALL=de_DE.UTF-8
+export LC_ALL=C
 
 # basic functions
 die() {