-
Notifications
You must be signed in to change notification settings - Fork 3
/
config-sample.php
46 lines (34 loc) · 2.61 KB
/
config-sample.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?php
$debug = false; //change to true to display extra debugging information
$path_main = ""; //no trailing slash, root relative in your file system, e.g.: "/docs/weed"
$path_http = ""; //no trailing slash; e.g. "/weed" for a top-level web directory
$path_crud = $path_main . '/ajaxcrud'; //don't change
$htpath_crud = $path_http . '/ajaxcrud/'; //don't change
$secure_outside_path = ''; // no trailing slash - should be outside the web space (not in public_html, /var/www/html or equivalent)
$allow_uploads = false;
$allow_delete = false;
$allow_manage = false; // allow file management functions
$default_call_type = "LC"; // allowed: "LC", "DDC"
$MYSQL_HOST = "localhost"; // probably but not necessarily "localhost"
$MYSQL_LOGIN = ""; // mysql username, needs create/replace/update/delete perm
$MYSQL_PASS = ""; //mysql password
$MYSQL_DB = "weeding"; //or whatever else you want to call it
$innreach = array (
"local_id" => "", //your institutional code, eg "wt3ug"
"local_display_name" => "", // your institution as it displays in the innreach catalog, eg "WITTENBERG"
"url" => "", // InnReach catalog url with no trailing slash, e.g. "https://olc1.ohiolink.edu"
"local_cat_url" => "", // local catalog url with no trailing slash, e.g. "https://ezra.wittenberg.edu"
"holdings_selector" => "", // CSS-style selector for the holdings table in your InnReach catalog, e.g. "table.centralHoldingsTable" (this is the correct selector for the OhioLINK central catalog
/* these next 3 variables have to do with how many times per minute the innreach_check.php will do an innreach lookup */
"night_ends" => "7", //hour at which innreach_check.php switches to fewer hits per minute
"overnight_hits" => "9", // hits per minute between midnight and 'night_ends'-o'clock
"daytime_hits" => "6", //hits per minute between 'night-ends' and midnight
);
/* FILECHUCKER OPTIONS
Note: FileChucker is non-free, non-opensource software for managing file uploads, including much larger files than is sometimes achievable natively in PHP and therefor in Weeding Helper. It is likely (but not certain) that future releases of Weeding Helper will include optional FileChucker support, allowing users who pay the FileChucker licensing fee to use alternate upload options. Since changes to this file (config.php) can hinder the upgrade process, some unused variables are added here now (Apr 2013, v 1.0.8, for ease of later upgrades.
More information about FileChucker at: https://encodable.com/filechucker/
*/
$use_filechucker_for_upload = false;
$filechucker_location = "";
$filechucker_upload_page = "";
?>