~jstys-z/helioviewer.org/client5

« back to all changes in this revision

Viewing changes to settings/Config.Server.php

  • Committer: V. Keith Hughitt
  • Date: 2009-04-01 21:08:05 UTC
  • Revision ID: hughitt1@kore-20090401210805-372f7dgih07vxk42
nightly build 04-01-2009

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 * @author Keith Hughitt <Vincent.K.Hughitt@nasa.gov>
6
6
 */
7
7
class Config {
 
8
    
 
9
        // Version Information
 
10
        const LAST_UPDATE                = '2009/04/01';
 
11
        const BUILD_NUM          = 204;
 
12
    
 
13
        // Viewer
 
14
        const DEFAULT_ZOOM_LEVEL = 11;
 
15
        const DEFAULT_OBS_TIME   = 1065312000000;
 
16
        const DEFAULT_TIMESTEP   = 86400;
 
17
        const MIN_ZOOM_LEVEL     = 8;
 
18
        const MAX_ZOOM_LEVEL     = 16;           
 
19
        const PREFETCH_SIZE      = 0;
 
20
    
8
21
        // Database
9
22
        const DB_HOST            = '';
10
23
        const DB_NAME            = '';
17
30
        const CACHE_DIR          = '/home/esahelio/public_html/cache/';
18
31
        const JP2_DIR            = '/home/esahelio/public_html/jp2/';
19
32
        const KDU_LIBS_DIR       = '/home/esahelio/kakadu/lib';
20
 
        const EMPTY_TILE         = 'images/transparent_512.gif';
 
33
        const EMPTY_TILE         = 'images/transparent_512.png';
21
34
        
22
35
        // URL's
23
36
        const WEB_ROOT_URL       = 'http://helioviewer.org';
24
37
        const TMP_ROOT_URL       = 'http://helioviewer.org/tmp';        
25
38
        const EVENT_SERVER_URL   = "http://achilles.nascom.nasa.gov/~wamsler/API/index.php?";
 
39
        const API_BASE_URL       = "api/index.php";
26
40
                
27
41
        // Regular Expressions  
28
42
        const WEB_ROOT_DIR_REGEX = '/\/home\/esahelio\/public_html/';
43
57
        const NUM_COLORS               = 256;
44
58
        const TILE_PAD_WIDTH           = 8;
45
59
                        
 
60
        // Image scale computation
 
61
        const BASE_ZOOM_LEVEL          = 10;
 
62
        const BASE_IMAGE_SCALE         = 2.63;
 
63
 
46
64
        // Apache IMagick Module
47
 
        const MOD_IMAGICK_ENABLED = true;
 
65
        const MOD_IMAGICK_ENABLED = false;
48
66
 
49
67
        // Debugging
50
68
        const ENABLE_CACHE       = true;