]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/phpSANE-0.3.3-fixes.patch
Set version to 2.9rc1.
[people/pmueller/ipfire-2.x.git] / src / patches / phpSANE-0.3.3-fixes.patch
Content-type: text/html ]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/phpSANE-0.3.3-fixes.patch


500 - Internal Server Error

Malformed UTF-8 character (fatal) at (eval 6) line 1, <$fd> line 52.
CommitLineData
b332d4ea
AF
1diff -Naur phpSANE_org/config.php phpSANE/config.php
2--- phpSANE_org/config.php 2005-02-21 07:05:00.000000000 +0100
3+++ phpSANE/config.php 2008-03-04 14:44:30.000000000 +0100
4@@ -1,7 +1,7 @@
5 <?PHP
6 // CONFIG ------------------------------------------------------------------------------------
7 $SCANIMAGE="/usr/bin/scanimage"; // auch mit
8-$PNMTOJPEG="/usr/bin/pnmtojpeg"; // eigenen
9+$PNMTOJPEG="/usr/local/netpbm/bin/pnmtojpeg"; // eigenen
10 $OCR="/usr/bin/gocr"; // Parametern
11
12 //$SAVE_PLACE="/srv/www/htdocs/web/phpSANE/";
13@@ -63,7 +63,7 @@
14 if($_GET['mode']) if($clear == 1) $mode="Color"; else $mode=$_GET['mode']; else $mode="Color";
15 if($_GET['resolution']) if($clear == 1) $resolution=100; else $resolution=$_GET['resolution']; else $resolution=100;
16 if($clear == 1) $negative="no"; else $negative=$_GET['negative'];
17-if($clear == 1) $quality_cal= "yes"; else $quality_cal=$_GET['quality_cal'];
18+if($clear == 1) $quality_cal= "no"; else $quality_cal=$_GET['quality_cal'];
19 if($clear == 1) $first="";
20 //if($_GET['depth']) $depth=$_GET['depth']; else $depth="8"; // wers braucht
21