diff options
Diffstat (limited to 'sourcecodes/remove_variables_processing_default.php')
| -rw-r--r-- | sourcecodes/remove_variables_processing_default.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sourcecodes/remove_variables_processing_default.php b/sourcecodes/remove_variables_processing_default.php index 102fffea..95f14747 100644 --- a/sourcecodes/remove_variables_processing_default.php +++ b/sourcecodes/remove_variables_processing_default.php @@ -6,8 +6,8 @@ function get_tier($keyval) { $tier=trim($_GET['tier']); -//$dir="./data/"; -$dir="/tmp/bnw/"; +//$dir="/var/lib/genenet/bnw/"; +$dir="/var/lib/genenet/bnw/"; $tf=$dir.$keyval."del_var.txt"; $fpvar = fopen("$tf","w"); @@ -52,8 +52,8 @@ function describe_tier($fpvar,$keyval) $tierdesc=trim($_GET['tierdesc']); -//$dir="./data/"; -$dir="/tmp/bnw/"; +//$dir="/var/lib/genenet/bnw/"; +$dir="/var/lib/genenet/bnw/"; $tf=$dir.$keyval."tier.txt"; $tier=file_get_contents("$tf"); @@ -200,8 +200,8 @@ if($d1!="" && $d2!="") -//$dir="./data/"; -$dir="/tmp/bnw/"; +//$dir="/var/lib/genenet/bnw/"; +$dir="/var/lib/genenet/bnw/"; //$sid1=$dir.$keyval."ban"; //$sid2=$dir.$keyval."white"; @@ -229,7 +229,7 @@ $al3=rand(0,51); $alpha="$alphas[$al1]"."$alphas[$al2]"."$alphas[$al3]"; $keyval=$alpha; -shell_exec('./run_scripts/run_del_var '.$oldkey.' '.$keyval); +shell_exec(__DIR__.'/run_scripts/run_del_var '.$oldkey.' '.$keyval); //describe_tier($fpb,$keyval); //banlist($fpb); |
