move variables to config file

This commit is contained in:
Josh North 2014-08-25 22:04:03 -04:00
parent 56224c4504
commit 5cb4cb6dbe

View File

@ -1,17 +1,4 @@
<?php <?php require 'config.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
?>
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">