diff options
Diffstat (limited to 'sourcecodes/example.php')
| -rw-r--r-- | sourcecodes/example.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sourcecodes/example.php b/sourcecodes/example.php index d132bae8..2ae3b2cd 100644 --- a/sourcecodes/example.php +++ b/sourcecodes/example.php @@ -1,7 +1,7 @@ <?php include("input_validate.php"); $oldkeyval=$_GET["My_key"]; -$dir="/tmp/bnw/"; +$dir="/var/lib/genenet/bnw/"; $type_n=array(); @@ -23,10 +23,10 @@ $al3=rand(0,51); $alpha="$alphas[$al1]"."$alphas[$al2]"."$alphas[$al3]"; $keyval=$alpha; -shell_exec('./examplefilecopy.sh '.$example.' '.$oldkeyval.' '.$keyval); +shell_exec(__DIR__.'/examplefilecopy.sh '.$example.' '.$oldkeyval.' '.$keyval); -shell_exec('./run_scripts/run_prep_input '.$keyval); +shell_exec(__DIR__.'/run_scripts/run_prep_input '.$keyval); /////////////////////////////////structure matrix//////////////////////////// @@ -91,7 +91,7 @@ if ($fout !== false) { } -shell_exec('./run_scripts/run_octave '.$keyval); +shell_exec(__DIR__.'/run_scripts/run_octave '.$keyval); |
