move variables to config file
This commit is contained in:
parent
5cb4cb6dbe
commit
e1970dfad5
19
config.php
19
config.php
@ -1,2 +1,19 @@
|
|||||||
<?php
|
<?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
|
||||||
|
|
||||||
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user