Installer/Updater
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

<?php
$GVAULT_PATH = '/srv/vault';
$GWEB_PATH = '/srv/www/web';
$GARGUS_PATH = '/srv/argus';
$GTEMP_DIR = '/srv/vault/working_dir';
$GTS = time();
$GTID = md5( $GTS );
$DBNAME = 'setup_test';
$DBUSER = 'root';
$DBHOST = 'localhost';
$DBPASS = 'NoGud4U';
$ARGUS_WEB_VERSION = trim( file_get_contents( $GWEB_PATH.'/lib/version.var' ) );
$SSL_INSTALLLED = true;//false;
if( $_SERVER['SERVER_PORT'] == 80 ){
if( $SSL_INSTALLLED ){
header( 'location: https://'.$_SERVER['SERVER_ADDR'].'/'.$_SERVER['QUERY_STRING'] );
exit();
};
} else {
};
?>