-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathserver_params.php
More file actions
40 lines (30 loc) · 1.19 KB
/
server_params.php
File metadata and controls
40 lines (30 loc) · 1.19 KB
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
<?php
/////////////////////////////////////////////////
// Server-specific parameters
// Keep outside repo to preserve settings
/////////////////////////////////////////////////
// Application base directory
$BASE_DIR = "/home/boyle/bien/tnrs/";
// API directory
$APP_DIR = $BASE_DIR."api/";
// Batch application source directory
$BATCH_DIR=$BASE_DIR."tnrs_batch/src/";
// dir where db user & pwd file kept
// Should be outside application directory and html directory
$CONFIG_DIR = $BASE_DIR . "config/";
// Input & output data directory
$DATADIR = $BASE_DIR."data/user/"; // For production, keep outside API directory
//$DATADIR = $APP_DIR."example_data/"; // For testing only
// Path and name of log file
$LOGFILE_NAME = "log.txt";
$LOGFILE_PATH = $APP_DIR;
$LOGFILE = $LOGFILE_PATH . $LOGFILE_NAME;
// Path to general php funcions and generic include files
$utilities_path=$APP_DIR."php_utilities/"; // Local submodule directory
// General php funcions and generic include files
include $utilities_path."functions.inc";
include $utilities_path."taxon_functions.inc";
include $utilities_path."sql_functions.inc";
$timer_on=$utilities_path."timer_on.inc";
$timer_off=$utilities_path."timer_off.inc";
?>