- thumbnail support is fully functional with custom imageThumb class which supports caching and so on, the class is still considered beta (specially the clean_cache() function)

- updated simple template
- added Last Access (atime) to dirlist.lib.php
- updated and fixed loads of other things

git-svn-id: file:///Users/jimeh/Desktop/dlist/trunk@18 a5845835-ea0f-0410-a762-dd0bfe9bfde8
This commit is contained in:
jim
2006-04-09 18:00:39 +00:00
parent 02c6a18b1d
commit edf251dbec
16 changed files with 289 additions and 25 deletions

View File

@@ -31,8 +31,12 @@ if(!preg_match("/\/$/", $dir_url)) $redirect = '/';
if ( empty($redirect) ) {
// path lookup
$dir_path = apache_lookup_uri($dir_url);
$dir_path = ( is_array($dir_path) ) ? $dir_path['filename'] : $dir_path->filename ;
if ( function_exists('apache_lookup_uri') ) {
$dir_path = apache_lookup_uri($dir_url);
$dir_path = ( is_array($dir_path) ) ? $dir_path['filename'] : $dir_path->filename ;
} else {
$dir_path = $_SERVER['DOCUMENT_ROOT'].$dir_url;
}
if(!preg_match("/\/$/", $dir_path)) $dir_path .= '/';
// check for index files and redirect if found