- renamed view.php to index.php

- renamed exec files from *.exc.php to *.exec.php
- updated simple template
- added local language names caching to cache/local_names.ini, language must be used before it can read the local name from the language file and cache it if not already cached

git-svn-id: file:///Users/jimeh/Desktop/dlist/trunk@16 a5845835-ea0f-0410-a762-dd0bfe9bfde8
This commit is contained in:
jim
2006-04-06 13:09:04 +00:00
parent 57bd80f588
commit ebcb168783
12 changed files with 46 additions and 50 deletions

View File

@@ -2,17 +2,19 @@
Options +FollowSymlinks
RewriteEngine On
# if dir requested without trailing slash,
# rewrite to dList which redirects to the
# dir with the trailing slash added.
RewriteCond %{REQUEST_FILENAME} -d
RewriteCond %{REQUEST_URI} !/$
RewriteCond %{REQUEST_URI} ^(.+)$ [OR]
RewriteRule !^(.*)/$ /dlist/view.php?shit
# Uncomment the bollow lines if your server does not redirect
# to directories with a trailing slash in the url. For
# example, if "http://domain.com/dir" is not redirected to
# "http://domain.com/dir/" correctly. Then dList can handle
# it correctly instead of your server.
#RewriteCond %{REQUEST_FILENAME} -d
#RewriteCond %{REQUEST_URI} !/$
#RewriteCond %{REQUEST_URI} ^(.+)$ [OR]
#RewriteRule !^(.*)/$ /dlist/ [L]
# rewrite to dList if no index files found
RewriteCond %{REQUEST_FILENAME}/index.html !-f [NC]
RewriteCond %{REQUEST_FILENAME}/index.php !-f [NC]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.*)$ /dlist/view.php
RewriteRule ^(.*)$ /dlist/
</IfModule>