dList v2.2.5 beta

- Tested and fixed bugs on PHP 5.x.
	Only remaining problem is that short tags is disabled by default in PHP 5.x. As of this moment dList templates use <? ?> style tags for simplicity.

- Other minor changes which i don't remember.

git-svn-id: file:///Users/jimeh/Desktop/dlist/trunk@23 a5845835-ea0f-0410-a762-dd0bfe9bfde8
This commit is contained in:
jim
2006-05-20 15:06:54 +00:00
parent 5eed76a17d
commit 5576f99ff6
7 changed files with 23 additions and 16 deletions

View File

@@ -4,7 +4,7 @@ class dirList {
/*
Class: dirList v2.1.1 beta
Class: dirList v2.1.2 beta
Copyright © 2006 Jim Myhrberg. All rights reserved.
zynode@gmail.com
@@ -172,6 +172,7 @@ class dirList {
function getDetails ($item) {
$item = str_replace("\\", '/', $item);
$return['name'] = basename($item);
$return['name'] = preg_replace('/.*(?:\/|\\\\)(.*?)$/i', "$1", $item);
// Owner and Group
if ( ($group = $this->getGroup($item)) != false ) $return = array_merge($return, $group);