From 7b5d0474a192c0b001ae8710ec191507dbdc9b80 Mon Sep 17 00:00:00 2001 From: zone Date: Wed, 13 Jun 2001 23:41:26 +0000 Subject: [PATCH] Display files path --- filemanager/test.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/filemanager/test.php b/filemanager/test.php index 965f0088b0..d8dd279fa7 100644 --- a/filemanager/test.php +++ b/filemanager/test.php @@ -13,12 +13,9 @@ include("../header.inc.php"); */ html_break (1); -html_text_italic (PHP_OS . " - " . $phpgw_info["server"]["db_type"] . " - " . PHP_VERSION); +html_text_italic (PHP_OS . " - " . $phpgw_info["server"]["db_type"] . " - " . PHP_VERSION . " - " . $phpgw->vfs->basedir); html_break (1); -### -# start of getabsolutepath tests - $sep = $phpgw_info["server"]["dir_separator"]; $user = $phpgw->vfs->working_lid; $homedir = $phpgw->vfs->fakebase . "/" . $user; @@ -26,6 +23,9 @@ $realhomedir = preg_replace ("|/|", $sep, $homedir); $filesdir = $phpgw->vfs->basedir; $currentapp = $phpgw_info["flags"]["currentapp"]; +### +# start of getabsolutepath tests + $phpgw->vfs->cd (); $io = array ("" => "$homedir", "dir" => "$homedir/dir", "dir/file" => "$homedir/dir/file", "dir/dir2" => "$homedir/dir/dir2", "dir/dir2/file" => "$homedir/dir/dir2/file", "`~!@#$%^&*()-_=+/|[{]};:'\",<.>?" => "$homedir/`~!@#$%^&*()-_=+/|[{]};:'\",<.>?");