airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sma...@apache.org
Subject [1/3] airavata-php-gateway git commit: fixing minor issue in ExperimentUtilities
Date Tue, 14 Jul 2015 19:56:19 GMT
Repository: airavata-php-gateway
Updated Branches:
  refs/heads/0.15-release-branch ff241d430 -> 77c835d7e


fixing minor issue in ExperimentUtilities


Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/d85fecd0
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/d85fecd0
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/d85fecd0

Branch: refs/heads/0.15-release-branch
Commit: d85fecd0b674addd6605d97d29fddd6512c55324
Parents: ff241d4
Author: Supun Nakandala <scnakandala@apache.org>
Authored: Tue Jul 14 23:04:14 2015 +0530
Committer: Supun Nakandala <scnakandala@apache.org>
Committed: Tue Jul 14 23:04:14 2015 +0530

----------------------------------------------------------------------
 app/libraries/ExperimentUtilities.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d85fecd0/app/libraries/ExperimentUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/ExperimentUtilities.php b/app/libraries/ExperimentUtilities.php
index 631587a..b0ec5ca 100644
--- a/app/libraries/ExperimentUtilities.php
+++ b/app/libraries/ExperimentUtilities.php
@@ -584,7 +584,7 @@ class ExperimentUtilities
                     $outputPath = str_replace(Config::get('pga_config.airavata')['experiment-data-absolute-path'],
                         Config::get('pga_config.airavata')['experiment-data-dir'], $output->value);
                     $outputPath = str_replace('//', '/', $outputPath);
-                    if(file_exists($outputPath)){
+                    if(file_exists(str_replace('//','/',$output->value))){
                         $outputPathArray = explode("/", $outputPath);
 
                         echo '<p>' . $output->name . ' : ' . '<a target="_blank"


Mime
View raw message