diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2006-04-04 10:30:20 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2006-04-04 10:30:20 +0000 |
commit | 9a08d61db5b88828bf0ebddf153a7ec202e70a0c (patch) | |
tree | 07a4a377e08b82ee83267769c7ec5649886c994e | |
parent | 1286e6c6f432df6592d5c0dcf2f026465d4bef38 (diff) | |
download | ellinika-9a08d61db5b88828bf0ebddf153a7ec202e70a0c.tar.gz ellinika-9a08d61db5b88828bf0ebddf153a7ec202e70a0c.tar.bz2 |
Bugfixes
git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@446 941c8c0f-9102-463b-b60b-cd22ce0e6858
-rw-r--r-- | .htaccess | 2 | ||||
-rw-r--r-- | cgi-bin/nea.cgi.in | 5 | ||||
-rw-r--r-- | index.scml | 5 |
3 files changed, 8 insertions, 4 deletions
@@ -1,7 +1,7 @@ | |||
1 | RewriteEngine on | 1 | RewriteEngine on |
2 | 2 | ||
3 | # --BEGIN MAINTENANCE RULES--- | 3 | # --BEGIN MAINTENANCE RULES--- |
4 | RewriteCond .maintenance -f | 4 | RewriteCond /home/gray/public_html/ellinika/.maintenance -f |
5 | RewriteCond %{REQUEST_FILENAME} !.*/maint.html | 5 | RewriteCond %{REQUEST_FILENAME} !.*/maint.html |
6 | RewriteCond %{REQUEST_FILENAME} !.*\.css | 6 | RewriteCond %{REQUEST_FILENAME} !.*\.css |
7 | RewriteCond %{REQUEST_FILENAME} !.*\.png | 7 | RewriteCond %{REQUEST_FILENAME} !.*\.png |
diff --git a/cgi-bin/nea.cgi.in b/cgi-bin/nea.cgi.in index ef84ac5..b8eeae4 100644 --- a/cgi-bin/nea.cgi.in +++ b/cgi-bin/nea.cgi.in | |||
@@ -47,7 +47,10 @@ | |||
47 | (car l))) | 47 | (car l))) |
48 | (else | 48 | (else |
49 | s))) | 49 | s))) |
50 | (string-split (or (getenv "HTTP_ACCEPT_LANGUAGE") "") #\,))) | 50 | (string-split (or |
51 | (getenv "HTTP_ACCEPT_LANGUAGE") | ||
52 | "") | ||
53 | #\,))) | ||
51 | 54 | ||
52 | (define nea-max-rows 20) ;; FIXME: Move to the config | 55 | (define nea-max-rows 20) ;; FIXME: Move to the config |
53 | 56 | ||
@@ -50,8 +50,9 @@ | |||
50 | (car l))) | 50 | (car l))) |
51 | (else | 51 | (else |
52 | s))) | 52 | s))) |
53 | (string-split | 53 | (string-split |
54 | (table:get (request-rec:subprocess-env Request) "HTTP_ACCEPT_LANGUAGE") | 54 | (or (table:get (request-rec:subprocess-env Request) "HTTP_ACCEPT_LANGUAGE") |
55 | "") | ||
55 | #\,))) | 56 | #\,))) |
56 | (string-append ellinika-document-root "/" ellinika-dispatcher)))) | 57 | (string-append ellinika-document-root "/" ellinika-dispatcher)))) |
57 | 58 | ||