about summary refs log tree commit diff
path: root/sourcecodes/upload_structure_file.php
diff options
context:
space:
mode:
Diffstat (limited to 'sourcecodes/upload_structure_file.php')
-rw-r--r--sourcecodes/upload_structure_file.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/sourcecodes/upload_structure_file.php b/sourcecodes/upload_structure_file.php
index 2b235dd8..80f7468b 100644
--- a/sourcecodes/upload_structure_file.php
+++ b/sourcecodes/upload_structure_file.php
@@ -34,10 +34,10 @@ if($_POST["My_key"]!="")
 $keyval=valid_keyval($keyval);
 
 $sid=$keyval."continuous_input";
-//$dir="./data/";
-$dir="/tmp/bnw/";
+//$dir="/var/lib/genenet/bnw/";
+$dir="/var/lib/genenet/bnw/";
 
-$input_table_file="./data/".$keyval."input_table.txt";
+$input_table_file="/var/lib/genenet/bnw/".$keyval."input_table.txt";
 
 
 $TextinFile=$dir.$sid."_orig.txt";
@@ -126,7 +126,7 @@ if($searchID!="")
         fwrite($fpdata,$searchID);
       }
   }  
-  shell_exec('./run_scripts/run_prep_input '.$keyval);
+  shell_exec(__DIR__.'/run_scripts/run_prep_input '.$keyval);
 ?>
 <ul class="navbar2">
   <li><a href="help.php#file_format" target="_blank">Data formatting guidelines</a>