mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:18 +01:00
Display files path
This commit is contained in:
parent
038094ceb2
commit
7b5d0474a1
@ -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/`~!@#$%^&*()-_=+/|[{]};:'\",<.>?");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user