~jstys-z/helioviewer.org/client5

« back to all changes in this revision

Viewing changes to api/src/Config.php

  • Committer: Keith Hughitt
  • Date: 2011-05-26 19:28:41 UTC
  • mfrom: (402.1.667 hv)
  • Revision ID: keith.hughitt@nasa.gov-20110526192841-5xmuft9jsm52pzih
Helioviewer.org 2.2.0 Release

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
 
71
71
        $this->_setAdditionalParams();
72
72
        
73
 
        $dbconfig = substr($file, 0, strripos($file, "/")) . "/Database.php";
74
 
        include_once $dbconfig;
 
73
        $keys = substr($file, 0, strripos($file, "/")) . "/Private.php";
 
74
        include_once $keys;
75
75
    }
76
76
 
77
77
    /**
109
109
        define("HV_CACHE_DIR", HV_ROOT_DIR . "/cache");
110
110
        define("HV_CACHE_URL", HV_WEB_ROOT_URL . "/cache");
111
111
        
 
112
        define("HV_CONSTANT_AU", 149597870700); // 1 au in meters (http://maia.usno.navy.mil/NSFA/IAU2009_consts.html)
 
113
        define("HV_CONSTANT_RSUN", 959.644); // Solar radius in arc-seconds at 1 au
 
114
        
112
115
        // Image compression settings (See http://www.imagemagick.org/script/command-line-options.php#quality)
113
116
        define("PNG_LOW_COMPRESSION",  10);  // Faster, large files
114
117
        define("PNG_HIGH_COMPRESSION", 50);  // Slower, smalle files