3
* Helioviewer API Configuration
5
* @author Keith Hughitt <Vincent.K.Hughitt@nasa.gov>
6
* TODO: Determine performance of storing in class vs. YAML (need to use for every tile)
11
const DB_HOST = 'localhost';
12
const DB_NAME = 'hv2';
13
const DB_USER = 'helioviewer';
14
const DB_PASS = 'helioviewer';
17
const TMP_ROOT_DIR = '/var/www/hv/tmp';
18
const WEB_ROOT_DIR = '/var/www/hv';
19
const CACHE_DIR = '/var/www/hv/cache/';
20
const JP2_DIR = '/var/www/hv/jp2/';
21
const KDU_LIBS_DIR = '/usr/lib/kakadu/';
22
const EMPTY_TILE = 'images/transparent_512.gif';
25
const WEB_ROOT_URL = 'http://localhost/hv';
26
const TMP_ROOT_URL = 'http://localhost/hv/tmp';
27
const EVENT_SERVER_URL = "http://localhost:8080/Dispatcher/resources/eventCatalogs?";
29
// Regular Expressions
30
const WEB_ROOT_DIR_REGEX = '/\/var\/www\/hv/';
31
const WEB_ROOT_URL_REGEX = '/http:\/\/localhost\/hv/';
34
const KDU_MERGE_BIN = '/usr/bin/kdu_merge';
35
const KDU_EXPAND = '/usr/bin/kdu_expand';
36
const EXIF_TOOL = 'exiftool';
39
const MAX_MOVIE_FRAMES = 150;
42
const PNG_COMPRESSION_QUALITY = 20;
43
const JPEG_COMPRESSION_QUALITY = 75;
45
const NUM_COLORS = 256;
47
// Apache IMagick Module
48
const MOD_IMAGICK_ENABLED = false;
51
const ENABLE_CACHE = true;