Skip to content

Commit

Permalink
fix (.gitignore file, etc.)
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Apr 10, 2012
1 parent ad20e90 commit e915406
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
@@ -0,0 +1,3 @@
images/*
profiles/*
backup/*
2 changes: 1 addition & 1 deletion compare.php
Expand Up @@ -187,7 +187,7 @@ function validate($file) {
$files = $_GET['file'];
$op = $_GET['op'];
$action = $_GET['action'];
if ((count($files) == 2 || count($files) == 1) && ($action == "compare" || $action == "execute")) {
if ((count($files) == 2 || count($files) == 1) && ($action == "compare" || $action == "execute" || $action == "EXECUTE")) {
if (count($files) == 2) {
$xml = compare($files[0], $files[1]);
} else {
Expand Down
1 change: 1 addition & 0 deletions config.php
Expand Up @@ -9,6 +9,7 @@ function config() {
"jhove" => "/home/differ/jhove/bin/JhoveApp.jar",
"jhove_conf" => "/home/differ/jhove/conf/jhove.conf",
"fits" => "/home/differ/fits/fits.sh",
"application_dir" => "/home/differ/production/",
"extensions" => array("jpg", "jpeg", "tiff", "tif", "jp2", "djvu", "jpx", "jpf", "TIF", "TIFF"),
"tmp_dir" => "/tmp/",
"compare_bin" => "/home/differ/projects/compare/compare.sh",
Expand Down

0 comments on commit e915406

Please sign in to comment.