You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
615 B

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <?php
  2. $GVAULT_PATH = '/srv/vault';
  3. $GWEB_PATH = '/srv/www/web';
  4. $GARGUS_PATH = '/srv/argus';
  5. $GTEMP_DIR = '/srv/vault/working_dir';
  6. $GTS = time();
  7. $GTID = md5( $GTS );
  8. $DBNAME = 'setup_test';
  9. $DBUSER = 'root';
  10. $DBHOST = 'localhost';
  11. $DBPASS = 'NoGud4U';
  12. $ARGUS_WEB_VERSION = trim( file_get_contents( $GWEB_PATH.'/lib/version.var' ) );
  13. $SSL_INSTALLLED = true;//false;
  14. if( $_SERVER['SERVER_PORT'] == 80 ){
  15. if( $SSL_INSTALLLED ){
  16. header( 'location: https://'.$_SERVER['SERVER_ADDR'].'/'.$_SERVER['QUERY_STRING'] );
  17. exit();
  18. };
  19. } else {
  20. };
  21. ?>