From: Michael J. Rubinsky Date: Sat, 13 Feb 2010 17:51:21 +0000 (-0500) Subject: MFB - use realPath here. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=4f93f6eda3179871fad2a882fbdff0a367e9dfb9;p=horde.git MFB - use realPath here. Bug: 8760 --- diff --git a/ansel/scripts/recursive_import.php b/ansel/scripts/recursive_import.php index 598db2a8c..e8b9b9c9e 100755 --- a/ansel/scripts/recursive_import.php +++ b/ansel/scripts/recursive_import.php @@ -125,6 +125,7 @@ function processDirectory($dir, $parent = null) { global $cli; + $dir = Horde_Util::realPath($dir); if (!is_dir($dir)) { $cli->fatal(sprintf(_("\"%s\" is not a directory."), $dir)); } diff --git a/ansel/scripts/remote_import.php b/ansel/scripts/remote_import.php index d942112f6..c465cc878 100755 --- a/ansel/scripts/remote_import.php +++ b/ansel/scripts/remote_import.php @@ -148,6 +148,7 @@ function processDirectory($dir, $parent = null, $gallery_id = null, $slug = null { global $cli, $rpc_auth, $rpc_endpoint; + $dir = Horde_Util::realPath($dir); if (!is_dir($dir)) { $cli->fatal(sprintf(_("\"%s\" is not a directory."), $dir)); }