20 lines
989 B
PHP
20 lines
989 B
PHP
<?php
|
|
|
|
// MAIN CONFIGURATION
|
|
$page_title = "Scanimage Web GUI"; // Name to be displayed on top of page as well as page title
|
|
$user_message = "Use the drop-downs below to set preferences. Load documents in the feeder and press \"Scan\". When the job completes, you will be able to pick your file from the selection at the bottom of the page."; // Text welcome message for user under title
|
|
|
|
// DIRECTORIES
|
|
$app_dir = "/var/www/scan/"; // Absolute path to where this app directory is - must end with a /
|
|
$scan_dir = "scans/"; // Relative path inside application directory that holds the scans - must end with a /
|
|
|
|
// FORMATS
|
|
$date_format = "Y-m-d_H.i.s"; // Date format to use for file naming - in PHP date code format
|
|
|
|
// PROGRAM LOCATIONS
|
|
$scanimage = "/usr/bin/scanimage"; //Absolute path to scanimage binary
|
|
$scanadf = "/usr/bin/scanadf"; // Absolute path to scanadf binary
|
|
$convert = "/usr/bin/convert"; //Absolute path to scanimage binary
|
|
|
|
?>
|