You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sc...@apache.org on 2015/07/14 19:34:41 UTC

airavata-php-gateway git commit: fixing minor issue in ExperimentUtilities

Repository: airavata-php-gateway
Updated Branches:
  refs/heads/master ff241d430 -> d85fecd0b


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/master
Commit: d85fecd0b674addd6605d97d29fddd6512c55324
Parents: ff241d4
Author: Supun Nakandala <sc...@apache.org>
Authored: Tue Jul 14 23:04:14 2015 +0530
Committer: Supun Nakandala <sc...@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"