From e1970dfad531dfe5b9fc61dd7fcfa739959db02f Mon Sep 17 00:00:00 2001 From: Josh North Date: Mon, 25 Aug 2014 22:04:59 -0400 Subject: [PATCH] move variables to config file --- config.php | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/config.php b/config.php index ae52211..8a03f55 100644 --- a/config.php +++ b/config.php @@ -1,2 +1,19 @@ + + // 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 + +?>