-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4c05f4d
commit 5339981
Showing
6 changed files
with
20 additions
and
2,056 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
|
||
require_once 'config.php'; | ||
require $config['root_dir'].'includes/bootstrap.inc'; | ||
require $config['root_dir'] . 'downloads/downloads_class2.php'; | ||
require $config['root_dir'] . 'downloads/downloads_class.php'; | ||
|
||
$mysqli = connecti(); | ||
|
||
|
@@ -26,9 +26,7 @@ | |
|
||
/** Using a PHP class to display histogram | ||
* | ||
* @category PHP | ||
* @package T3 | ||
* @author Clay Birkett <[email protected]> | ||
* @author Clay Birkett <[email protected]> | ||
* @license http://triticeaetoolbox.org/wheat/docs/LICENSE Berkeley-based | ||
* @link http://triticeaetoolbox.org/wheat/histo.php | ||
* | ||
|
@@ -199,9 +197,12 @@ private function runHisto() | |
fclose($h); | ||
} | ||
if (file_exists("/tmp/tht/$filename4")) { | ||
print "<img src=\"/tmp/tht/$filename4\" /><br>"; | ||
print "<img src=\"/tmp/tht/$filename4\"/>"; | ||
print "<form method=\"get\" action=\"/tmp/tht/$filename4\">"; | ||
print "<button type=\"submit\">Download Image</button>"; | ||
print "</form>"; | ||
} else { | ||
echo "Error in R script R/GShisto.R<br>\n"; | ||
echo "Error in R script R/GShisto.R<br>\n"; | ||
} | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.